Skip to content

Commit

Permalink
fix(runtime-core): ensure keep-alive deep-watches include/explude pro…
Browse files Browse the repository at this point in the history
…ps (#2551)

fix #2550
  • Loading branch information
LinusBorg authored Nov 30, 2020
1 parent 67d1aac commit 421205d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/components/KeepAlive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 421205d

Please sign in to comment.