fix(store): 修复 keepAliveRemove 操作后不能恢复页面缓存的 bug 以及相关 demo 页面
This commit is contained in:
@@ -83,7 +83,7 @@ export default {
|
||||
},
|
||||
// 清空当前页缓存并刷新此页面
|
||||
async handleCleanCacheAndRefreshCurrent () {
|
||||
this.keepAliveRemove(this.$route.fullPath)
|
||||
this.keepAliveRemove(this.$route.name)
|
||||
await this.$nextTick()
|
||||
this.$router.replace('/refresh')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user