mirror of https://github.com/fantasticit/think.git
client: fix js error
This commit is contained in:
parent
a9892a3fa8
commit
7ffdc77360
|
@ -53,7 +53,7 @@ export const ResetPassword = ({ onSuccess }) => {
|
|||
|
||||
return (
|
||||
<Form
|
||||
initValues={{ email: user.email, password: '', confirmPassword: '' }}
|
||||
initValues={{ email: user ? user.email : '', password: '', confirmPassword: '' }}
|
||||
onChange={onFormChange}
|
||||
onSubmit={onFinish}
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue