fix: Suspense should include into dynamic children (#653)

fix #649
This commit is contained in:
likui
2020-01-22 23:45:27 +08:00
committed by Evan You
parent 2569890e31
commit ec63623fe8
2 changed files with 35 additions and 1 deletions

View File

@@ -274,6 +274,7 @@ export function createVNode(
shouldTrack > 0 &&
currentBlock !== null &&
(patchFlag > 0 ||
shapeFlag & ShapeFlags.SUSPENSE ||
shapeFlag & ShapeFlags.STATEFUL_COMPONENT ||
shapeFlag & ShapeFlags.FUNCTIONAL_COMPONENT)
) {