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

This commit is contained in:
RuoYi 2023-02-04 22:40:20 +08:00
parent 1f25c95c05
commit 6a5e441155
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ function isAffix(tag) {
}
function isFirstView() {
try {
return selectedTag.value.fullPath === visitedViews.value[1].fullPath || selectedTag.value.fullPath === '/index'
return selectedTag.value.fullPath === '/index' || selectedTag.value.fullPath === visitedViews.value[1].fullPath
} catch (err) {
return false
}