diff --git a/packages/runtime-core/src/components/KeepAlive.ts b/packages/runtime-core/src/components/KeepAlive.ts index ac6eec56f2e..0630e3d16d1 100644 --- a/packages/runtime-core/src/components/KeepAlive.ts +++ b/packages/runtime-core/src/components/KeepAlive.ts @@ -179,7 +179,7 @@ const KeepAliveImpl = { exclude && pruneCache(name => !matches(exclude, name)) }, // prune post-render after `current` has been updated - { flush: 'post' } + { flush: 'post', deep: true } ) // cache sub tree after render