Skip to content

Commit

Permalink
fix: 修正多标签页控制演示页面的错误代码
Browse files Browse the repository at this point in the history
  • Loading branch information
FairyEver committed Apr 21, 2020
1 parent d4ef995 commit c13b59e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/demo/playground/store/page/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
}
}
}
Expand Down

0 comments on commit c13b59e

Please sign in to comment.