tagsView右选框,首页不应该存在关闭左侧选项

This commit is contained in:
Giovanni 2023-02-01 15:58:40 +08:00
parent 492919d4af
commit 9926f73cd0
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ export default {
}, },
isFirstView() { isFirstView() {
try { try {
return this.selectedTag.fullPath === this.visitedViews[1].fullPath || this.selectedTag.fullPath === '/index' return this.selectedTag.fullPath === '/index' || this.selectedTag.fullPath === this.visitedViews[1].fullPath
} catch (err) { } catch (err) {
return false return false
} }