Skip to content

Commit

Permalink
wip: update
Browse files Browse the repository at this point in the history
  • Loading branch information
linzhe141 committed Aug 9, 2024
1 parent c50591d commit 66b16c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/runtime-core/src/components/Teleport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,7 @@ function hydrateTeleport(
}
}
updateCssVars(vnode)
}
if (!target && isTeleportDisabled(vnode.props)) {
} else if (isTeleportDisabled(vnode.props)) {
const targetNode = nextSibling(node)
if (vnode.shapeFlag & ShapeFlags.ARRAY_CHILDREN) {
vnode.anchor = hydrateChildren(
Expand Down

0 comments on commit 66b16c2

Please sign in to comment.