Antd form表单的使用、设值、取值、清空值

一、使用this {this.props.form.getFieldDecorator("key",{})(<Input />)} 三、设值code this.props.form.setFieldsValue({ key: '123', }); 二、取值orm this.props.form.validateFields((err, values) => { if (!err)
相关文章
相关标签/搜索