首页页签右键选择时不显示关闭左侧

This commit is contained in:
RuoYi
2023-02-04 22:45:01 +08:00
parent da2e5a2d93
commit 6c3e88ee6d
2 changed files with 2 additions and 2 deletions

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
}