Warning ‘there are more than one `getFieldDecorator` in it.‘
问题: ant-design form 警告 Warning ‘there are more than one getFieldDecorator in it.’版本: ant-design 3.*原因: 在一个 <Form.Item/>里面写了两个或更多的getFieldDecorator()分析:这种需求不是不可以, 而且很常见。 我们经常会把有很轻关系的fields放在一起, 所以放在一个 <Form.Item/>也很常见, 只不过不是直接放, 而是用 <Form
原创
2020-09-06 14:28:06 ·
694 阅读 ·
0 评论