mirror of
https://github.com/dataease/dataease.git
synced 2026-05-18 01:38:11 +08:00
refactor(仪表板): 新建视图默认加到主画布中
This commit is contained in:
@@ -1297,6 +1297,8 @@ export default {
|
||||
component.x = 1
|
||||
component.y = 1
|
||||
}
|
||||
component['canvasId'] = 'canvas-main'
|
||||
component['canvasPid'] = '0'
|
||||
component.id = newComponentId
|
||||
// 统一设置背景信息
|
||||
component.commonBackground = deepCopy(COMMON_BACKGROUND)
|
||||
|
||||
Reference in New Issue
Block a user