fix: 修复标签页-关闭左侧标签页关闭异常问题

This commit is contained in:
xiaoxian521
2025-07-24 12:14:03 +08:00
parent baabe42b84
commit 185a5b710a
3 changed files with 949 additions and 954 deletions

View File

@@ -254,7 +254,7 @@ function deleteDynamicTag(obj: any, current: any, tag?: string) {
if (tag === "other") {
spliceRoute(1, 1, true);
} else if (tag === "left") {
spliceRoute(fixedTags.length, valueIndex - 1, true);
spliceRoute(fixedTags.length, valueIndex - fixedTags.length);
} else if (tag === "right") {
spliceRoute(valueIndex + 1, multiTags.value.length);
} else {