1 2 3 4
摘要: 我们在做表单的时候经常会遇到一个场景需要数组对象格式的数据,例如我们填写公司成员信息,如下图: 我们需要的数据格式是数组对象,这时我们在getFieldDecorator要如何取名字呢? <Form.Item style={{ margin: 0 }}> {getFieldDecorator(`co 阅读全文
posted @ 2020-06-23 11:04 红鲤鱼与LV 阅读(7077) 评论(0) 推荐(0) 编辑
摘要: 1.失去焦点时验证 <Col span={12}> <Form.Item label="账号" labelCol={{ span: 5 }} wrapperCol={{ span: 16 }} > {isAdd ? ( getFieldDecorator('bank_account', { rule 阅读全文
posted @ 2020-06-23 10:43 红鲤鱼与LV 阅读(9460) 评论(1) 推荐(0) 编辑