From 6a5e441155913435687c07088179e4538c898a71 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期六, 04 二月 2023 22:40:20 +0800 Subject: [PATCH] 首页页签右键选择时不显示关闭左侧 --- src/layout/components/TagsView/index.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index f33f9fc..c6ebdba 100644 --- a/src/layout/components/TagsView/index.vue +++ b/src/layout/components/TagsView/index.vue @@ -94,7 +94,7 @@ } 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 } -- Gitblit v1.9.3