fix(TagsView): 关闭所有标签无效问题修复
Former-commit-id: 25c28bf9a974fbf221e2f3479339ba2168a0c4fa
This commit is contained in:
@@ -264,10 +264,7 @@ function closeOtherTags() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function closeAllTags(view: TagView) {
|
function closeAllTags(view: TagView) {
|
||||||
tagsView.delRightViews(selectedTag.value).then((res: any) => {
|
tagsView.delAllViews().then((res: any) => {
|
||||||
if (affixTags.value.some((tag: any) => tag.path === route.path)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
toLastView(res.visitedViews, view);
|
toLastView(res.visitedViews, view);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user