1 . 在使用 <a-form> 组件的时候遇到如下报错:
You cannot set a form field before rendering a field associated with the value. You can use getFieldDecorator(id, options)
instead v-decorator="[id, options]"
to register it before render.
我希望表单在打开时就能展示默认数据,表单的每个数据项都用v-decorator
进行了数据绑定。于是我在data中写好了一个list
dataApply: {
id: '',
aaa: '系统管理员',
bbb: 'xx部门',
ccc