From 1270b056d5630001accff9a010af85a49f89b841 Mon Sep 17 00:00:00 2001
From: wugh <328043740@qq.com>
Date: 星期五, 19 三月 2021 19:28:43 +0800
Subject: [PATCH] [bug修复] 解决调整验证码干扰的类型无效,只用circle的bug [优化] 调整使用那种验证码的逻辑判断,使用switch优化,并减少重复代码

---
 ruoyi-ui/src/layout/components/TagsView/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/layout/components/TagsView/index.vue b/ruoyi-ui/src/layout/components/TagsView/index.vue
index bc6ce18..d1e059e 100644
--- a/ruoyi-ui/src/layout/components/TagsView/index.vue
+++ b/ruoyi-ui/src/layout/components/TagsView/index.vue
@@ -153,7 +153,7 @@
       })
     },
     closeOthersTags() {
-      this.$router.push(this.selectedTag)
+      this.$router.push(this.selectedTag).catch(()=>{});
       this.$store.dispatch('tagsView/delOthersViews', this.selectedTag).then(() => {
         this.moveToCurrentTag()
       })

--
Gitblit v1.9.3