Browse Source
!656 tagsView右键选择框,只存在首页时,不应该存在关闭左侧选项
Merge pull request !656 from Giovanni/master
newMaster
若依
2 years ago
committed by
Gitee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with
1 additions and
1 deletions
-
ruoyi-ui/src/layout/components/TagsView/index.vue
|
@ -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 |
|
|
} |
|
|
} |
|
|