ソースを参照

修复tab栏”关闭其他“异常的问题

RuoYi 3 年 前
コミット
d4bae9745c
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      ruoyi-ui/src/layout/components/TagsView/index.vue

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

@@ -182,7 +182,7 @@ export default {
182 182
       })
183 183
     },
184 184
     closeOthersTags() {
185
-      this.$router.push(this.selectedTag).catch(()=>{});
185
+      this.$router.push(this.selectedTag.fullPath).catch(()=>{});
186 186
       this.$tab.closeOtherPage(this.selectedTag).then(() => {
187 187
         this.moveToCurrentTag()
188 188
       })