mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
refactor: 大屏拖拽进入的组件图层放在最顶层
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user