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')) } } }