Commit 7617fb07b3a72c20ef192d501792e1b354ce30b1

Authored by xingyu
1 parent 47c8aad9

fix: close all tags

yudao-ui-admin-vue3/src/layout/components/TagsView/src/TagsView.vue
... ... @@ -114,8 +114,8 @@ const toLastView = () => {
114 114 addTags()
115 115 return
116 116 }
117   - // You can set another route
118   - push(permissionStore.getAddRouters[0].path)
  117 + // TODO: You can set another route
  118 + push('/')
119 119 }
120 120 }
121 121  
... ... @@ -128,7 +128,6 @@ const moveToCurrentTag = async () => {
128 128 if (v.fullPath !== unref(currentRoute).fullPath) {
129 129 tagsViewStore.updateVisitedView(unref(currentRoute))
130 130 }
131   -
132 131 break
133 132 }
134 133 }
... ...