fix(client): disable the default onSubmit event of the form (#3834)

This commit is contained in:
chenos 2024-03-27 16:37:33 +08:00 committed by GitHub
parent 996e89fb14
commit cfa6930d70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -205,6 +205,7 @@ export const Form: React.FC<FormProps> & {
return (
<ConfigProvider componentDisabled={formDisabled}>
<form
onSubmit={(e) => e.preventDefault()}
className={css`
.ant-formily-item-feedback-layout-loose {
margin-bottom: 12px;