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) }