@form-create/element-ui
Version:
element-ui动态表单|form-create is a form generation component that can generate dynamic rendering, data collection, verification and submission functions through JSON. Supports 5 UI frameworks, and supports the generation of any Vue components. Built-in 20 ki
34 lines (33 loc) • 780 B
JavaScript
export default function getConfig() {
return {
form: {
inline: false,
labelPosition: 'right',
labelWidth: '125px',
disabled: false,
size: undefined,
},
row: {
show: true,
gutter: 0,
},
submitBtn: {
type: 'primary',
loading: false,
disabled: false,
innerText: '提交',
show: true,
col: undefined,
click: undefined,
},
resetBtn: {
type: 'default',
loading: false,
disabled: false,
innerText: '重置',
show: false,
col: undefined,
click: undefined,
},
};
}