问题:
### templete
<ele-form
:form-data="formData"
:form-desc="formDesc"
/>
### data
formDesc: {
title: {
type: 'input',
label: '标题',
rules: [{ required: true, message: '请输入标题', trigger: 'blur' }]
},
original: {
type: 'radio',
label: '是否为原创',
options: [
{ text: '原创', value: 1 },
{ text: '转载', value: 0 }
]
}
},
formData: { title: 'ddd' }