update src/layout/components/TagsView/index.vue.

Signed-off-by: 4eversad <1085947752@qq.com>
Former-commit-id: f655d7ab41bbb201a7123c00ddcdc69f27d5ea10
This commit is contained in:
4eversad
2023-09-10 14:37:19 +00:00
committed by Gitee
parent 9b08e45533
commit 2ad43db13f

View File

@@ -121,7 +121,7 @@ function isFirstView() {
try {
return (
(selectedTag.value as TagView).fullPath === "/dashboard" ||
(selectedTag.value as TagView).fullPath === tagsViewStore.visitedViews[1]
(selectedTag.value as TagView).fullPath === tagsViewStore.visitedViews[1].fullPath
);
} catch (err) {
return false;