mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
Merge 160fe541a739b52513d79d98eae65d39f4224fc8 into 6858a9ad67483025f6a9432a926beb9327037be3
This commit is contained in:
commit
beba836e5b
@ -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.path === this.$route.path)) {
|
||||
return
|
||||
}
|
||||
this.toLastView(visitedViews, view)
|
||||
|
Loading…
x
Reference in New Issue
Block a user