forked from github/dataease
refactor(仪表板): 新建视图默认加到主画布中
This commit is contained in:
parent
716328444e
commit
6348dc6933
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user