fix: close all tags

This commit is contained in:
xingyu 2022-12-07 21:14:13 +08:00
parent 47c8aad929
commit 7617fb07b3

View File

@ -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
}
}