From: Thorsten Lünborg Date: Mon, 30 Nov 2020 19:04:45 +0000 (+0100) Subject: fix(runtime-core): ensure keep-alive deep-watches include/explude props (#2551) X-Git-Tag: v3.0.4~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=421205d0ad1ab187ff72be754e38c7228230eb60;p=thirdparty%2Fvuejs%2Fcore.git fix(runtime-core): ensure keep-alive deep-watches include/explude props (#2551) fix #2550 --- diff --git a/packages/runtime-core/src/components/KeepAlive.ts b/packages/runtime-core/src/components/KeepAlive.ts index ac6eec56f2..0630e3d16d 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