From 6e23a564cbcbc04007301244e682dd34da1e1384 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Mon, 25 Dec 2023 21:52:25 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=A4=A7=E5=B1=8F=E6=8B=96?= =?UTF-8?q?=E6=8B=BD=E8=BF=9B=E5=85=A5=E7=9A=84=E7=BB=84=E4=BB=B6=E5=9B=BE?= =?UTF-8?q?=E5=B1=82=E6=94=BE=E5=9C=A8=E6=9C=80=E9=A1=B6=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/views/data-visualization/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/data-visualization/index.vue b/core/core-frontend/src/views/data-visualization/index.vue index 545893cd68..69cc98bd5e 100644 --- a/core/core-frontend/src/views/data-visualization/index.vue +++ b/core/core-frontend/src/views/data-visualization/index.vue @@ -109,7 +109,7 @@ const handleDrop = e => { component.style.left = e.clientX - rectInfo.x component.id = guid() changeComponentSizeWithScale(component) - dvMainStore.addComponent({ component: component, index: 0 }) + dvMainStore.addComponent({ component: component, index: undefined }) adaptCurThemeCommonStyle(component) snapshotStore.recordSnapshotCache('renderChart', component.id) }