试想一下,我们可以规划出一个积木组件的聚合平台,用户可以在平台上随意挑选组件并拖拽插入画布中,通过以组装积木的方式来生成页面。...{
maxSize: 1024 * 300,
},
},
text: {
type: 'inputText', //输入框
defaultValue: '按钮文字...',
label: '按钮文字',
group: '基础设置',
},
custom: {
defaultValue: '',
label: '自定义渲染配置器'...group: '基础设置',
weight: 1,
},
text: {
type: 'inputText', //输入框
defaultValue: '按钮文字...1',
label: '按钮文字1',
group: '基础设置',
weight: 97,
},
select: {
type: 'select