Browse Source

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

master
RuoYi 3 years ago
parent
commit
6a5e441155
  1. 2
      src/layout/components/TagsView/index.vue

2
src/layout/components/TagsView/index.vue

@ -94,7 +94,7 @@ function isAffix(tag) {
} }
function isFirstView() { function isFirstView() {
try { 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) { } catch (err) {
return false return false
} }

Loading…
Cancel
Save