Merge branch 'master' of https://gitee.com/youlaiorg/vue3-element-admin
Former-commit-id: 29c5905dc418b71a7e3516e8d23392559f0f749e
This commit is contained in:
@@ -120,9 +120,8 @@ function isAffix(tag: TagView) {
|
|||||||
function isFirstView() {
|
function isFirstView() {
|
||||||
try {
|
try {
|
||||||
return (
|
return (
|
||||||
(selectedTag.value as TagView).fullPath ===
|
(selectedTag.value as TagView).fullPath === "/dashboard" ||
|
||||||
tagsViewStore.visitedViews[1].fullPath ||
|
(selectedTag.value as TagView).fullPath === tagsViewStore.visitedViews[1].fullPath
|
||||||
(selectedTag.value as TagView).fullPath === "/index"
|
|
||||||
);
|
);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user