mirror of https://github.com/vuejs/core.git
chore: minor tweaks
This commit is contained in:
parent
ab617d57d7
commit
9e909466d1
|
@ -657,7 +657,7 @@ export function createHydrationFunctions(
|
||||||
if (next && isComment(next) && next.data === ']') {
|
if (next && isComment(next) && next.data === ']') {
|
||||||
return nextSibling((vnode.anchor = next))
|
return nextSibling((vnode.anchor = next))
|
||||||
} else {
|
} else {
|
||||||
if (!isMismatchAllowed(node.parentElement, 1 /* CHILDREN */)) {
|
if (!isMismatchAllowed(container, MismatchTypes.CHILDREN)) {
|
||||||
// fragment didn't hydrate successfully, since we didn't get a end anchor
|
// fragment didn't hydrate successfully, since we didn't get a end anchor
|
||||||
// back. This should have led to node/children mismatch warnings.
|
// back. This should have led to node/children mismatch warnings.
|
||||||
logMismatchError()
|
logMismatchError()
|
||||||
|
|
Loading…
Reference in New Issue