Explorar o código

v3.4.0 Update copyright

YunaiV %!s(int64=3) %!d(string=hai) anos
pai
achega
fe0886d122
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()
       })