YunaiV 3 лет назад
Родитель
Сommit
fe0886d122
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      yudao-ui-admin/src/layout/components/TagsView/index.vue

+ 1 - 1
yudao-ui-admin/src/layout/components/TagsView/index.vue

@@ -153,7 +153,7 @@ export default {
       })
     },
     closeOthersTags() {
-      this.$router.push(this.selectedTag)
+      this.$router.push(this.selectedTag).catch(()=>{});
       this.$store.dispatch('tagsView/delOthersViews', this.selectedTag).then(() => {
         this.moveToCurrentTag()
       })