Unverified Commit 0f09f6d2 authored by Zzm0809's avatar Zzm0809 Committed by GitHub

fix-alert-form-bug (#2950)

parent e049f4d6
...@@ -91,9 +91,7 @@ const InstanceForm: React.FC<InstanceFormProps> = (props) => { ...@@ -91,9 +91,7 @@ const InstanceForm: React.FC<InstanceFormProps> = (props) => {
<> <>
<ProForm <ProForm
form={form} form={form}
onValuesChange={(changedValues, allValues) => onValuesChange={(changedValues, allValues) => setFormValues(allValues)}
setFormValues((prevState) => ({ ...prevState, ...allValues, ...changedValues }))
}
submitter={false} submitter={false}
> >
<ProForm.Group> <ProForm.Group>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment