fix: 修正多标签页控制演示页面的错误代码

This commit is contained in:
FairyEver
2020-04-21 18:03:28 +08:00
parent d4ef995211
commit c13b59e5e2

View File

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