修复页签关闭所有固定标签路由不刷新问题

pull/25/head
RuoYi 4 years ago
parent c04ea0221a
commit c0cc0bdf84

@ -160,7 +160,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…
Cancel
Save