From 0e87de097541c6ea080e654e44488ee833856e61 Mon Sep 17 00:00:00 2001 From: wisonic Date: Mon, 8 Dec 2025 15:21:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=8B=96=E6=8B=BD=E5=A4=9A=E4=B8=AA=E5=AD=97=E6=AE=B5=E5=88=B0?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=88=97=E6=8C=87=E5=AE=9A=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E6=97=B6=E9=A1=BA=E5=BA=8F=E9=A2=A0=E5=80=92=20#17490?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/views/chart/components/editor/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/editor/index.vue b/core/core-frontend/src/views/chart/components/editor/index.vue index a3fc967996..19731d3b86 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -1944,7 +1944,7 @@ const drop = (ev: MouseEvent, type = 'xAxis') => { const targetId = ev.srcElement.offsetParent?.querySelector('.node-id_private')?.dataset?.id const index = view.value[type].findIndex(ele => ele.id === targetId && ele.id !== obj.id) if (index !== -1) { - view.value[type].splice(index + 1, 0, obj) + view.value[type].splice(index + 1 + i, 0, obj) } else { view.value[type].push(obj) }