Closed sweet-potatos closed 3 years ago
const [editForm] = Form.useForm();
const a =data => { form.setFieldsValue({ name: data, }); console.log(form.getFieldsValue()) };
对应的Form.Item
const [editForm] = Form.useForm();
const a =data => { form.setFieldsValue({ name: data, }); console.log(form.getFieldsValue()) };
对应的Form.Item