React开发(106):getFieldDecorator不能包裹太多div

Posted 小歌谣(公众号同名)

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了React开发(106):getFieldDecorator不能包裹太多div相关的知识,希望对你有一定的参考价值。

  <Row gutter={12}>
              <Col span={12}>
                <Form.Item label="推送规则用户列表" required>
                  {getFieldDecorator('userRule', {
                    initialValue: popupByIdDetail.userRule,
                  })(
                    <Radio.Group onChange={this.handleOpenCategoryType}>
                      {cmsUseRule.map((item) => (
                        <Radio key={item.key} value={item.key}>
                          {item.value}
                        </Radio>
                      ))}
                    </Radio.Group>
                  )}
                </Form.Item>
              </Col>

以上是关于React开发(106):getFieldDecorator不能包裹太多div的主要内容,如果未能解决你的问题,请参考以下文章

微信公众号开发之配置信息错误(-106,-107错误)

React JS - 如何在对象内添加对象

exec: "/bin/xtensa-lx106-elf-g++": file does not exist Arduino for 8266 core 开发错误解决办法(示例代

react-native-scrollable-tab-view

106. Construct Binary Tree from Inorder and Postorder Traversal

Java小白入门200例106之遍历ArrayList的几种方式