Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 606e1d6 commit 789b7f2Copy full SHA for 789b7f2
1 file changed
‎packages/runtime-vapor/src/vdomInterop.ts‎
@@ -188,7 +188,8 @@ const vaporInteropImpl: Omit<
188
ensureVNodeHookState(instance, vnode)
189
190
// copy the shape flag from the vdom component if inside a keep-alive
191
- if (isKeepAlive(parentComponent)) instance.shapeFlag = vnode.shapeFlag
+ if (parentComponent && isKeepAlive(parentComponent))
192
+ instance.shapeFlag = vnode.shapeFlag
193
194
if (vnode.transition) {
195
setVaporTransitionHooks(
0 commit comments