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 0dcc98f commit 71e2495Copy full SHA for 71e2495
packages/runtime-vapor/src/components/KeepAlive.ts
@@ -126,7 +126,7 @@ export const VaporKeepAliveImpl: ObjectVaporComponent = defineVaporComponent({
126
127
const processFragment = (frag: DynamicFragment) => {
128
const [innerBlock, interop] = getInnerBlock(frag.nodes)
129
- if (!innerBlock && !shouldCache(innerBlock!, props, interop)) return
+ if (!innerBlock || !shouldCache(innerBlock!, props, interop)) return
130
131
if (interop) {
132
if (cache.has(innerBlock.vnode!.type)) {
0 commit comments