react 报错:TypeError: Cannot read property 'getFieldDecorator' of undefined
react 报错:TypeError: Cannot read property ‘getFieldDecorator’ of undefined
(类型错误:无法读取未定义的“GetFieldDecorator”属性)
在class前添加 @Form.create() 即可
@Form.create()
class FormLogin extends React.PureComponent {
...
转载
2019-06-27 16:19:54 ·
5112 阅读 ·
2 评论