From c13b59e5e295f41fff52627474acca23055a2308 Mon Sep 17 00:00:00 2001 From: FairyEver <1711467488@qq.com> Date: Tue, 21 Apr 2020 18:03:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E5=A4=9A=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E9=A1=B5=E6=8E=A7=E5=88=B6=E6=BC=94=E7=A4=BA=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E9=94=99=E8=AF=AF=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/demo/playground/store/page/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/demo/playground/store/page/index.vue b/src/views/demo/playground/store/page/index.vue index 12748ec1..d82dfd58 100644 --- a/src/views/demo/playground/store/page/index.vue +++ b/src/views/demo/playground/store/page/index.vue @@ -84,12 +84,12 @@ export default { // 清空当前页缓存并刷新此页面 handleCleanCacheAndRefreshCurrent () { this.keepAliveRemove(this.$route.fullPath) - this.$nextTick(this.$router.replace('/refresh')) + this.$nextTick(() => this.$router.replace('/refresh')) }, // 清空所有的缓存并刷新此页面 handleCleanCacheAndRefreshAll () { this.keepAliveClean() - this.$nextTick(this.$router.replace('/refresh')) + this.$nextTick(() => this.$router.replace('/refresh')) } } }