作者 若依
提交者 Gitee

!656 tagsView右键选择框,只存在首页时,不应该存在关闭左侧选项

Merge pull request !656 from Giovanni/master
@@ -87,7 +87,7 @@ export default { @@ -87,7 +87,7 @@ export default {
87 }, 87 },
88 isFirstView() { 88 isFirstView() {
89 try { 89 try {
90 - return this.selectedTag.fullPath === this.visitedViews[1].fullPath || this.selectedTag.fullPath === '/index' 90 + return this.selectedTag.fullPath === '/index' || this.selectedTag.fullPath === this.visitedViews[1].fullPath
91 } catch (err) { 91 } catch (err) {
92 return false 92 return false
93 } 93 }