RuoYi лет назад: 5
Родитель
Сommit
449704180b
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      ruoyi-ui/src/layout/components/TagsView/index.vue
  2. 1 1
      ruoyi-ui/src/views/login.vue

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

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

+ 1 - 1
ruoyi-ui/src/views/login.vue

@@ -48,7 +48,7 @@
48
     </el-form>
48
     </el-form>
49
     <!--  底部  -->
49
     <!--  底部  -->
50
     <div class="el-login-footer">
50
     <div class="el-login-footer">
51
-      <span>Copyright © 2018-2020 ruoyi.vip All Rights Reserved.</span>
51
+      <span>Copyright © 2018-2021 ruoyi.vip All Rights Reserved.</span>
52
     </div>
52
     </div>
53
   </div>
53
   </div>
54
 </template>
54
 </template>