From 7bcdc963b935477feb6495f01f7d4afa2c8ec957 Mon Sep 17 00:00:00 2001 From: zhang zhuo Date: Sat, 10 Jan 2026 13:59:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/tags.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/components/tags.vue b/src/layout/components/tags.vue index c01ebc3..8384826 100644 --- a/src/layout/components/tags.vue +++ b/src/layout/components/tags.vue @@ -335,7 +335,7 @@ function closeRight() { if (nowTag.fullPath === tag.fullPath) { flag = true } - if ((tag.meta && tag.meta.affix) || !flag) { + if ((tag.meta && tag.meta.affix) || !flag || nowTag.fullPath === tag.fullPath) { return true } else { closeSelectedTag(tag, false)