6 lines
385 B
Markdown
6 lines
385 B
Markdown
|
|
# 动态配置form表单
|
|||
|
|
示例见 views/components/form
|
|||
|
|
参数 fieldList:配置项,包括arco.design Form.Item和Input、Select以及自定义属性component等
|
|||
|
|
参数 model: 传默认值
|
|||
|
|
通过ref获取实例,调用子组件实例updateFieldsList方法更新配置项,调用setModel方法更新数据,调用setForm方法更新Form属性,自定义事件change处理逻辑
|