This commit is contained in:
zhang zhuo 2026-01-10 13:59:49 +08:00
parent 6b0b5dd84e
commit 7bcdc963b9
1 changed files with 1 additions and 1 deletions

View File

@ -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)