no message

This commit is contained in:
A1300399510
2024-02-18 20:19:03 +08:00
parent 11ab23f6d3
commit 50c4074182
165 changed files with 18003 additions and 13290 deletions

View File

@@ -1,3 +1,8 @@
/**
* @vue/server-renderer v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
@@ -40,7 +45,7 @@ function ssrRenderAttrs(props, tag) {
return ret;
}
function ssrRenderDynamicAttr(key, value, tag) {
if (!isRenderableValue(value)) {
if (!shared.isRenderableAttrValue(value)) {
return ``;
}
const attrKey = tag && (tag.indexOf("-") > 0 || shared.isSVGTag(tag)) ? key : shared.propsToAttrMap[key] || key.toLowerCase();
@@ -56,18 +61,11 @@ function ssrRenderDynamicAttr(key, value, tag) {
}
}
function ssrRenderAttr(key, value) {
if (!isRenderableValue(value)) {
if (!shared.isRenderableAttrValue(value)) {
return ``;
}
return ` ${key}="${shared.escapeHtml(value)}"`;
}
function isRenderableValue(value) {
if (value == null) {
return false;
}
const type = typeof value;
return type === "string" || type === "number" || type === "boolean";
}
function ssrRenderClass(raw) {
return shared.escapeHtml(shared.normalizeClass(raw));
}
@@ -371,8 +369,7 @@ function renderComponentVNode(vnode, parentComponent = null, slotScopeId) {
() => Promise.all(
prefetches.map((prefetch) => prefetch.call(instance.proxy))
)
).catch(() => {
});
).catch(shared.NOOP);
}
return p.then(() => renderComponentSubTree(instance, slotScopeId));
} else {