初始化
This commit is contained in:
40
frontend/packages/BasicComponents/Picture/settingConfig.js
Normal file
40
frontend/packages/BasicComponents/Picture/settingConfig.js
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* @description: 图片组件配置
|
||||
* @Date: 2023-03-17 11:17:00
|
||||
* @Author: xing.heng
|
||||
*/
|
||||
import { commonConfig } from '../../js/config'
|
||||
|
||||
export const settingConfig = {
|
||||
// 设置面板属性的显隐
|
||||
displayOption: {
|
||||
dataAllocation: {
|
||||
// 是否存在数据配置
|
||||
enable: false
|
||||
}
|
||||
}
|
||||
}
|
||||
const customConfig = {
|
||||
type: 'picture',
|
||||
root: {
|
||||
version: '2023071001',
|
||||
// 绕x轴旋转角度
|
||||
rotateX: 0,
|
||||
// 绕y轴旋转角度
|
||||
rotateY: 0,
|
||||
// 绕z轴旋转角度
|
||||
rotateZ: 0,
|
||||
// 透视距离
|
||||
perspective: 0,
|
||||
skewX: 0,
|
||||
skewY: 0
|
||||
},
|
||||
customize: {
|
||||
url: '',
|
||||
radius: 0,
|
||||
opacity: 100
|
||||
}
|
||||
}
|
||||
export const dataConfig = {
|
||||
...commonConfig(customConfig)
|
||||
}
|
||||
Reference in New Issue
Block a user