1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-04-05 11:18:42 +08:00

Merge 821abae7a66b0e164a48206962324b49de08073d into 6858a9ad67483025f6a9432a926beb9327037be3

This commit is contained in:
Guan9 2024-11-28 00:29:09 +00:00 committed by GitHub
commit c7e912dc26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)