先來一波報錯
_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)