react 报错:TypeError: Cannot read property ‘getFieldDecorator’ of undefined
(类型错误:无法读取未定义的“GetFieldDecorator”属性)
在class前添加 @Form.create() 即可
@Form.create()
class FormLogin extends React.PureComponent {
}
@Form.create()等价于export default Form.create()(FormLogin) ;
原文链接:https://blog.csdn.net/zhongmei121/article/details/83900695