修正Tags点击刷新按钮页面仍可能被缓存的问题
This commit is contained in:
parent
14e693339c
commit
e09f40840a
|
@ -89,11 +89,12 @@ export default {
|
|||
refreshSelectedTag(view) {
|
||||
this.$store.dispatch('delCachedView', view).then(() => {
|
||||
const { fullPath } = view
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.$router.replace({
|
||||
path: '/redirect' + fullPath
|
||||
})
|
||||
})
|
||||
})
|
||||
},
|
||||
closeSelectedTag(view) {
|
||||
this.$store.dispatch('delView', view).then(({ visitedViews }) => {
|
||||
|
|
Loading…
Reference in New Issue