Skip to content

Commit 421205d

Browse files
authored
fix(runtime-core): ensure keep-alive deep-watches include/explude props (#2551)
fix #2550
1 parent 67d1aac commit 421205d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/components/KeepAlive.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ const KeepAliveImpl = {
179179
exclude && pruneCache(name => !matches(exclude, name))
180180
},
181181
// prune post-render after `current` has been updated
182-
{ flush: 'post' }
182+
{ flush: 'post', deep: true }
183183
)
184184

185185
// cache sub tree after render

0 commit comments

Comments
 (0)