Former-commit-id: 29c5905dc4
This commit is contained in:
郝先瑞 2023-09-11 09:00:52 +08:00
commit caf81a5116
1 changed files with 2 additions and 3 deletions

View File

@ -120,9 +120,8 @@ function isAffix(tag: TagView) {
function isFirstView() {
try {
return (
(selectedTag.value as TagView).fullPath ===
tagsViewStore.visitedViews[1].fullPath ||
(selectedTag.value as TagView).fullPath === "/index"
(selectedTag.value as TagView).fullPath === "/dashboard" ||
(selectedTag.value as TagView).fullPath === tagsViewStore.visitedViews[1].fullPath
);
} catch (err) {
return false;