fix(teleport): teleport should always be tracked as dynamic child for unmount
fix #1088
This commit is contained in:
parent
08bf7e3607
commit
7f23555356
@ -381,6 +381,7 @@ function _createVNode(
|
|||||||
patchFlag !== PatchFlags.HYDRATE_EVENTS &&
|
patchFlag !== PatchFlags.HYDRATE_EVENTS &&
|
||||||
(patchFlag > 0 ||
|
(patchFlag > 0 ||
|
||||||
shapeFlag & ShapeFlags.SUSPENSE ||
|
shapeFlag & ShapeFlags.SUSPENSE ||
|
||||||
|
shapeFlag & ShapeFlags.TELEPORT ||
|
||||||
shapeFlag & ShapeFlags.STATEFUL_COMPONENT ||
|
shapeFlag & ShapeFlags.STATEFUL_COMPONENT ||
|
||||||
shapeFlag & ShapeFlags.FUNCTIONAL_COMPONENT)
|
shapeFlag & ShapeFlags.FUNCTIONAL_COMPONENT)
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user