Unverified 提交 4f1933e2 authored 作者: 若依's avatar 若依 提交者: Gitee

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

Merge pull request !656 from Giovanni/master
......@@ -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
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论