react 报错:TypeError: Cannot read property ‘getFieldDecorator’ of undefined(类型错误:无法读取未定义的“GetFieldDecorator”属性)
解决方法:在class前添加 @Form.create() 即可
例如:
@Form.create()
class myComponent extends Component {
}
react 报错:TypeError: Cannot read property 'getFieldDecorator' of undefined
原文:https://www.cnblogs.com/moringyaozheng/p/14499744.html