bug fix : 菜单 - > 关闭其他
This commit is contained in:
parent
943dae05da
commit
a6863fb084
@ -140,7 +140,9 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
closeOthersTags () {
|
closeOthersTags () {
|
||||||
|
if (this.$route.fullPath !== this.selectedTag.fullPath) {
|
||||||
this.$router.push(this.selectedTag)
|
this.$router.push(this.selectedTag)
|
||||||
|
}
|
||||||
this.$store.dispatch('tagsView/delOthersViews', this.selectedTag).then(() => {
|
this.$store.dispatch('tagsView/delOthersViews', this.selectedTag).then(() => {
|
||||||
this.moveToCurrentTag()
|
this.moveToCurrentTag()
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user