Commit fe0886d122aa27f34213e02ba5142d173f7ead80
1 parent
de4df784
v3.4.0 Update copyright
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-ui-admin/src/layout/components/TagsView/index.vue
| @@ -153,7 +153,7 @@ export default { | @@ -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 | }) |