Browse Source
docs: fix error syntax (#42824)
Co-authored-by: Ali <ali.wu@miotech.com>
pull/42831/head
ZhuoYang Wu(阿离)
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
components/form/demo/register.tsx
|
|
@ -176,7 +176,7 @@ const App: React.FC = () => { |
|
|
|
if (!value || getFieldValue('password') === value) { |
|
|
|
return Promise.resolve(); |
|
|
|
} |
|
|
|
return Promise.reject(new Error('The two passwords that you entered do not match!')); |
|
|
|
return Promise.reject(new Error('The new password that you entered do not match!')); |
|
|
|
}, |
|
|
|
}), |
|
|
|
]} |
|
|
|