ant design ui表单赋值报错
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.
使用ant desion 给表单赋值的时候报这个错
原因:赋值的时候赋了多余的、表单里面不存在的字段
比如表单只有两个字段 usern
原创
2020-09-21 15:22:57 ·
876 阅读 ·
2 评论