From 7617fb07b3a72c20ef192d501792e1b354ce30b1 Mon Sep 17 00:00:00 2001 From: xingyu Date: Wed, 7 Dec 2022 21:14:13 +0800 Subject: [PATCH] fix: close all tags --- .../src/layout/components/TagsView/src/TagsView.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/yudao-ui-admin-vue3/src/layout/components/TagsView/src/TagsView.vue b/yudao-ui-admin-vue3/src/layout/components/TagsView/src/TagsView.vue index dc5570f3f..eeff97c9a 100644 --- a/yudao-ui-admin-vue3/src/layout/components/TagsView/src/TagsView.vue +++ b/yudao-ui-admin-vue3/src/layout/components/TagsView/src/TagsView.vue @@ -114,8 +114,8 @@ const toLastView = () => { addTags() return } - // You can set another route - push(permissionStore.getAddRouters[0].path) + // TODO: You can set another route + push('/') } } @@ -128,7 +128,6 @@ const moveToCurrentTag = async () => { if (v.fullPath !== unref(currentRoute).fullPath) { tagsViewStore.updateVisitedView(unref(currentRoute)) } - break } }