From 741c326424753333919a532bc9c4a2fce6463ca6 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 23 Apr 2024 14:13:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E4=BD=BF=E7=94=A8=E6=89=B9=E9=87=8F=E6=8B=96=E6=8B=BD?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=EF=BC=8C=E9=87=8D=E5=A4=8D=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=8C=87=E6=A0=87=E5=AD=97=E6=AE=B5=EF=BC=8C=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E6=8C=87=E6=A0=87=E6=98=BE=E7=A4=BA=E5=BC=82=E5=B8=B8?= 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 71e7158945..9434c527fb 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -1394,7 +1394,7 @@ const drop = (ev: MouseEvent, type = 'xAxis') => { const obj = cloneDeep(arr[i]) state.moveId = obj.id as unknown as number view.value[type].push(obj) - const e = { newDraggableIndex: view.value.xAxis.length - 1 } + const e = { newDraggableIndex: view.value[type].length - 1 } if ('drillFields' === type) { addDrill(e) } else if (type === 'customFilter') {