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) => {
<>
<ProForm
form={form}
onValuesChange={(changedValues, allValues) =>
setFormValues((prevState) => ({ ...prevState, ...allValues, ...changedValues }))
}
onValuesChange={(changedValues, allValues) => setFormValues(allValues)}
submitter={false}
>
<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