소스 검색

v3.4.0 Update copyright

YunaiV 3 년 전
부모
커밋
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()
       })