fix(runtime-core): ensure keep-alive deep-watches include/explude props (#2551)

fix #2550
This commit is contained in:
Thorsten Lünborg 2020-11-30 20:04:45 +01:00 committed by GitHub
parent 67d1aac6ae
commit 421205d0ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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