修改tags刷新按钮可能有缓存的问题

This commit is contained in:
玖伍陈海天 2018-09-06 18:30:21 +08:00
parent 14e693339c
commit de34b2c450
1 changed files with 88 additions and 87 deletions

View File

@ -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 }) => {