diff --git a/src/views/layout/components/TagsView.vue b/src/views/layout/components/TagsView.vue index 38a906a0..5d5d103c 100644 --- a/src/views/layout/components/TagsView.vue +++ b/src/views/layout/components/TagsView.vue @@ -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')