表单子组件,为 uct-form 表单组件提供支持,内部包括输入框,选择器,选择框,上传文件,开关,提示语等增删改查组件。
Props
| Prop name | Description | Type | Values | Default |
| item | 增删改查组件配置 | object | {"type": "input", "label": "输入框", "icon": "icon-write", "options": {"type": "text", "width": "100%", "defaultValue": "", "placeholder": "请输入", "clearable": false, "maxLength": null, "hidden": false, "disabled": false}, "model": "input_1612861962073", "key": "input_1612861962073", "rules": [{"required": false, "message": "必填项"}]}, `` | {} |
| config | horizontal 左右布局,vertical 上下布局 | object | - | { layout: "vertical", hideRequiredMark: false } |
| isborder | 是否显示表单域的边框 | boolean | - | false |
Events
| Event name | Properties | Description |
| input | data object - {key:value} | 当组件内容发生改变时传递参数 |
| mapData | | |