]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(runtime-core): ensure keep-alive deep-watches include/explude props (#2551)
authorThorsten Lünborg <t.luenborg@googlemail.com>
Mon, 30 Nov 2020 19:04:45 +0000 (20:04 +0100)
committerGitHub <noreply@github.com>
Mon, 30 Nov 2020 19:04:45 +0000 (14:04 -0500)
fix #2550

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

index ac6eec56f2e41b19c8eda914f72f3122baf9371e..0630e3d16d1495cec2585073b25053643faae732 100644 (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