提交 a69c0caf 编写于 作者: 雪洛's avatar 雪洛

fix(uni-app-x web): 修复unicloud-db组件服务端渲染告警的Bug

上级 d96b8a24
......@@ -6146,7 +6146,7 @@ function createHydrationFunctions(rendererInternals) {
break;
default:
if (shapeFlag & 1) {
if ((domType !== 1 /* ELEMENT */ || vnode.type.toLowerCase() !== node.tagName.toLowerCase()) && (domType !== 1 /* ELEMENT */ || vnode.type.toLowerCase() !== "uni-" + node.tagName.toLowerCase()) && !isTemplateNode(node)) {
if ((domType !== 1 /* ELEMENT */ || vnode.type.toLowerCase() !== node.tagName.toLowerCase()) && (domType !== 1 /* ELEMENT */ || vnode.type.toLowerCase() !== "uni-" + node.tagName.toLowerCase() && vnode.type !== "uni-cloud-db-element" && node.tagName !== "UNICLOUD-DB") && !isTemplateNode(node)) {
nextNode = onMismatch();
} else {
nextNode = hydrateElement(
......
......@@ -6154,7 +6154,7 @@ function createHydrationFunctions(rendererInternals) {
break;
default:
if (shapeFlag & 1) {
if ((domType !== 1 /* ELEMENT */ || vnode.type.toLowerCase() !== node.tagName.toLowerCase()) && (domType !== 1 /* ELEMENT */ || vnode.type.toLowerCase() !== "uni-" + node.tagName.toLowerCase()) && !isTemplateNode(node)) {
if ((domType !== 1 /* ELEMENT */ || vnode.type.toLowerCase() !== node.tagName.toLowerCase()) && (domType !== 1 /* ELEMENT */ || vnode.type.toLowerCase() !== "uni-" + node.tagName.toLowerCase() && vnode.type !== "uni-cloud-db-element" && node.tagName !== "UNICLOUD-DB") && !isTemplateNode(node)) {
nextNode = onMismatch();
} else {
nextNode = hydrateElement(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册