mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
Merge 821abae7a66b0e164a48206962324b49de08073d into 6858a9ad67483025f6a9432a926beb9327037be3
This commit is contained in:
commit
c7e912dc26
@ -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…
x
Reference in New Issue
Block a user