feat:新增 form 组件

This commit is contained in:
JaguarJack
2024-04-23 13:12:02 +08:00
parent eeb6fd4f41
commit bc59731083
76 changed files with 2793 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
const mergeAttr = (attrConfig) => {
const { basic = [], high = [], linkage = [] } = attrConfig
const attrs = [
{
component: 'Collapse',
name: 'mergeAttr',
children: [
{
title: '常用属性',
name: 'basic',
checked: true,
children: basic
},
{
title: '高级属性',
name: 'high',
children: high
},
{
title: '联动规则',
name: 'linkage',
children: linkage
}
]
}
]
return attrs
}
export default mergeAttr