From 421205d0ad1ab187ff72be754e38c7228230eb60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20L=C3=BCnborg?= Date: Mon, 30 Nov 2020 20:04:45 +0100 Subject: [PATCH] fix(runtime-core): ensure keep-alive deep-watches include/explude props (#2551) fix #2550 --- packages/runtime-core/src/components/KeepAlive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-core/src/components/KeepAlive.ts b/packages/runtime-core/src/components/KeepAlive.ts index ac6eec56..0630e3d1 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