先来一波报错
_this.props is undefined
You cannot set a form field before rendering a field associated with the value.
统一解决办法为:
异步0秒解决
setTimeout(() => {
this.form.setFieldsValue({
'screeningNo': '123'
})
}, 0)
先来一波报错
_this.props is undefined
You cannot set a form field before rendering a field associated with the value.
统一解决办法为:
异步0秒解决
setTimeout(() => {
this.form.setFieldsValue({
'screeningNo': '123'
})
}, 0)