Unverified Commit 4f1933e2 authored by 若依's avatar 若依 Committed by Gitee

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

Merge pull request !656 from Giovanni/master
parents 492919d4 9926f73c
...@@ -87,7 +87,7 @@ export default { ...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment