Explorar el Código

v3.4.0 Update copyright

YunaiV hace 3 años
padre
commit
fe0886d122
Se han modificado 1 ficheros con 1 adiciones y 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()
       })