fix: 修正多标签页控制演示页面的错误代码
This commit is contained in:
parent
d4ef995211
commit
c13b59e5e2
|
|
@ -84,12 +84,12 @@ export default {
|
||||||
// 清空当前页缓存并刷新此页面
|
// 清空当前页缓存并刷新此页面
|
||||||
handleCleanCacheAndRefreshCurrent () {
|
handleCleanCacheAndRefreshCurrent () {
|
||||||
this.keepAliveRemove(this.$route.fullPath)
|
this.keepAliveRemove(this.$route.fullPath)
|
||||||
this.$nextTick(this.$router.replace('/refresh'))
|
this.$nextTick(() => this.$router.replace('/refresh'))
|
||||||
},
|
},
|
||||||
// 清空所有的缓存并刷新此页面
|
// 清空所有的缓存并刷新此页面
|
||||||
handleCleanCacheAndRefreshAll () {
|
handleCleanCacheAndRefreshAll () {
|
||||||
this.keepAliveClean()
|
this.keepAliveClean()
|
||||||
this.$nextTick(this.$router.replace('/refresh'))
|
this.$nextTick(() => this.$router.replace('/refresh'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue