feat:新增 form 组件
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
const basicAttr = (omit = []) => {
|
||||
const attr = [
|
||||
{ label: '自定义class', component: 'Input', name: 'props.class' },
|
||||
{
|
||||
label: '自定义style',
|
||||
component: 'JsonEdit',
|
||||
name: 'props.style',
|
||||
help: '与vue的style对象格式一样',
|
||||
props: {
|
||||
mode: 'dialog'
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
return attr.filter((item) => !omit.includes(item.name))
|
||||
}
|
||||
|
||||
export default basicAttr
|
Reference in New Issue
Block a user