!12 修改了逻辑或的顺序, 将"/index",修改为了"/dashboard"
Merge pull request !12 from 4eversad/newBranch
Former-commit-id: eaf5cf895e
This commit is contained in:
commit
a34041faef
|
|
@ -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