perf[tags-view]: when closeOthersTags moveToCurrentTag
This commit is contained in:
parent
54e7ce2b76
commit
8fd786c4ed
|
@ -92,7 +92,9 @@ export default {
|
|||
},
|
||||
closeOthersTags() {
|
||||
this.$router.push(this.selectedTag.path)
|
||||
this.$store.dispatch('delOthersViews', this.selectedTag)
|
||||
this.$store.dispatch('delOthersViews', this.selectedTag).then(() => {
|
||||
this.moveToCurrentTag()
|
||||
})
|
||||
},
|
||||
closeAllTags() {
|
||||
this.$store.dispatch('delAllViews')
|
||||
|
|
Loading…
Reference in New Issue