Closed xmsz closed 2 years ago
<Form
onSubmit={(vals, errors) => {
console.log(vals, errors);
}}
>
<InputField name="input1" multiline placeholder="sdf" />
<div>
<Form.Submit>submit</Form.Submit>
</div>
</Form>
<Form onSubmit={(vals, errors) => { console.log(vals, errors); }} > <InputField name="input1" multiline placeholder="sdf" /> <div> <Form.Submit>submit</Form.Submit> </div> </Form>
ok 竟然还可以这样
背景