fix: TagsView关闭全部视图未更新
This commit is contained in:
parent
33a93a12b4
commit
821abae7a6
|
@ -149,7 +149,7 @@ export default {
|
|||
},
|
||||
closeAllTags(view) {
|
||||
this.$store.dispatch('tagsView/delAllViews').then(({ visitedViews }) => {
|
||||
if (this.affixTags.some(tag => tag.path === view.path)) {
|
||||
if (this.affixTags.some(tag => tag.fullPath === this.$route.path)) {
|
||||
return
|
||||
}
|
||||
this.toLastView(visitedViews, view)
|
||||
|
|
Loading…
Reference in New Issue