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

@ -63,7 +63,7 @@
"@wangeditor/editor-for-vue": "^5.1.12",
"@zxcvbn-ts/core": "^3.0.4",
"animate.css": "^4.1.1",
"axios": "^1.10.0",
"axios": "^1.11.0",
"china-area-data": "^5.0.1",
"codemirror": "^5.65.19",
"codemirror-editor-vue3": "^2.8.0",
@ -72,7 +72,7 @@
"deep-chat": "^2.2.2",
"echarts": "^5.6.0",
"el-table-infinite-scroll": "^3.0.6",
"element-plus": "2.10.2",
"element-plus": "^2.10.4",
"highlight.js": "^11.11.1",
"intro.js": "^7.2.0",
"js-cookie": "^3.0.5",
@ -85,7 +85,7 @@
"path-browserify": "^1.0.1",
"pinia": "^3.0.3",
"pinyin-pro": "^3.26.0",
"plus-pro-components": "^0.1.24",
"plus-pro-components": "^0.1.26",
"qrcode": "^1.5.4",
"qs": "^6.14.0",
"responsive-storage": "^2.2.0",
@ -96,20 +96,20 @@
"v3-infinite-loading": "^1.3.2",
"vditor": "^3.11.1",
"version-rocket": "^1.7.4",
"vue": "^3.5.17",
"vue-i18n": "^11.1.9",
"vue": "^3.5.18",
"vue-i18n": "^11.1.11",
"vue-json-pretty": "^2.5.0",
"vue-pdf-embed": "^2.1.2",
"vue-pdf-embed": "^2.1.3",
"vue-router": "^4.5.1",
"vue-tippy": "^6.7.1",
"vue-types": "^6.0.0",
"vue-virtual-scroller": "2.0.0-beta.8",
"vue-waterfall-plugin-next": "^2.6.6",
"vue-waterfall-plugin-next": "^2.6.7",
"vue3-danmaku": "^1.6.6",
"vue3-puzzle-vcode": "^1.1.7",
"vuedraggable": "^4.1.0",
"vxe-table": "4.6.25",
"wavesurfer.js": "^7.9.9",
"wavesurfer.js": "^7.10.1",
"xgplayer": "^3.0.22",
"xlsx": "^0.18.5"
},
@ -117,9 +117,9 @@
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@commitlint/types": "^19.8.1",
"@eslint/js": "^9.30.1",
"@eslint/js": "^9.31.0",
"@faker-js/faker": "^9.9.0",
"@iconify/json": "^2.2.355",
"@iconify/json": "^2.2.362",
"@iconify/vue": "4.2.0",
"@intlify/unplugin-vue-i18n": "^6.0.8",
"@tailwindcss/vite": "^4.1.11",
@ -127,7 +127,7 @@
"@types/dagre": "^0.7.53",
"@types/intro.js": "^5.1.5",
"@types/js-cookie": "^3.0.6",
"@types/node": "^20.19.4",
"@types/node": "^20.19.9",
"@types/nprogress": "^0.2.3",
"@types/path-browserify": "^1.0.3",
"@types/qrcode": "^1.5.5",
@ -136,12 +136,12 @@
"@vitejs/plugin-vue": "^6.0.0",
"@vitejs/plugin-vue-jsx": "^5.0.1",
"boxen": "^8.0.1",
"code-inspector-plugin": "^0.20.15",
"cssnano": "^7.0.7",
"code-inspector-plugin": "^0.20.17",
"cssnano": "^7.1.0",
"dagre": "^0.8.5",
"eslint": "^9.30.1",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.5.1",
"eslint": "^9.31.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.3",
"eslint-plugin-vue": "^10.3.0",
"gradient-string": "^3.0.0",
"husky": "^9.1.7",
@ -154,7 +154,7 @@
"rimraf": "^6.0.1",
"rollup-plugin-visualizer": "^6.0.3",
"sass": "^1.89.2",
"stylelint": "^16.21.1",
"stylelint": "^16.22.0",
"stylelint-config-recess-order": "^7.1.0",
"stylelint-config-recommended-vue": "^1.6.1",
"stylelint-config-standard-scss": "^14.0.0",
@ -162,9 +162,9 @@
"svgo": "^4.0.0",
"tailwindcss": "^4.1.11",
"typescript": "^5.8.3",
"typescript-eslint": "^8.35.1",
"typescript-eslint": "^8.38.0",
"unplugin-icons": "^22.1.0",
"vite": "^7.0.2",
"vite": "^7.0.5",
"vite-plugin-cdn-import": "^1.0.1",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-fake-server": "^2.2.0",
@ -172,7 +172,7 @@
"vite-plugin-router-warn": "^1.0.0",
"vite-svg-loader": "^5.1.0",
"vue-eslint-parser": "^10.2.0",
"vue-tsc": "^3.0.1"
"vue-tsc": "^3.0.3"
},
"engines": {
"node": "^20.19.0 || >=22.12.0",

1861
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

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 {