v-form-engine
Version:
一个基于 vue + element-ui 的 PC 端表单引擎。支持灵活的配置项、编辑/查看两种视图、自定义模板/插槽、溢出隐藏、双击复制等...
42 lines • 1.3 kB
JSON
{
"items": {
"type": "array",
"description": "form item configuration, [details](https://www.yuque.com/pingfan-mm82t/iqx0qm/form-engine#oh5aD), defaults: []"
},
"rules": {
"type": "object",
"description": "validation rules of form, default: {}"
},
"span": {
"type": "number",
"description": "el-col span value, default: 24"
},
"clearable": {
"type": "boolean",
"description": "set all the components in the el-form to the empty option, default: false"
},
"disabled": {
"type": "boolean",
"description": "disable all components within the el-form, default: false"
},
"readonly": {
"type": "boolean",
"description": "readonly all components within the el-form, default: false"
},
"form-data": {
"type": "object",
"description": "data of form component, default: {}"
},
"row-props": {
"type": "object",
"description": "el-row [attributes](https://element.eleme.cn/#/zh-CN/component/layout) object"
},
"col-props": {
"type": "object",
"description": "el-col [attributes](https://element.eleme.cn/#/zh-CN/component/layout) object"
},
"is-edit-hide-placeholder": {
"type": "boolean",
"description": "whether to hide the placeholder when the component cannot be edited, default: false"
}
}