Merge branch 'master' of https://gitee.com/youlaiorg/vue3-element-admin
Former-commit-id: 29c5905dc4
This commit is contained in:
commit
caf81a5116
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue