feat(数据大屏): 组件支持3d设置

This commit is contained in:
wangjiahao
2024-08-05 13:14:29 +08:00
parent 31d727a7c1
commit 6362fef337
6 changed files with 105 additions and 4 deletions

View File

@@ -134,6 +134,13 @@ export const ACTION_SELECTION = {
linkageActive: 'custom'
}
export const MULTI_DIMENSIONAL = {
enable: false,
x: 0,
y: 0,
z: 0
}
export const COMMON_COMPONENT_BACKGROUND_BASE = {
backgroundColorSelect: true,
backgroundImageEnable: false,
@@ -172,6 +179,7 @@ export const commonAttr = {
animations: [],
canvasId: 'canvas-main',
events: BASE_EVENTS,
multiDimensional: MULTI_DIMENSIONAL, // 3d 设置
groupStyle: {}, // 当一个组件成为 Group 的子组件时使用
isLock: false, // 是否锁定组件
maintainRadio: false, // 布局时保持宽高比例