forked from github/dataease
refactor: 大屏拖拽进入的组件图层放在最顶层
This commit is contained in:
parent
32eea248c3
commit
6e23a564cb
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user