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

This commit is contained in:
Giovanni 2023-02-01 15:58:40 +08:00
parent 492919d4af
commit 9926f73cd0

View File

@ -87,7 +87,7 @@ export default {
},
isFirstView() {
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) {
return false
}