Commit 32a906a3 authored by Sixiang_Zzb's avatar Sixiang_Zzb

登录页面的bug处理

parent e05e44e6
...@@ -121,7 +121,7 @@ const Login: React.FC<LoginProps> = (props) => { ...@@ -121,7 +121,7 @@ const Login: React.FC<LoginProps> = (props) => {
{forgetflag ? 'Please enter email address' : 'Account Name'} {forgetflag ? 'Please enter email address' : 'Account Name'}
</div> </div>
<Form.Item name="userName"> <Form.Item name="userName">
<input className={styles.input} value={userName || ''} onChange={usernameHandle} /> <input className={styles.input} defaultValue={userName || ''} onChange={usernameHandle} />
</Form.Item> </Form.Item>
<div className={styles.box1}> <div className={styles.box1}>
{forgetflag ? 'Please enter a verification code' : 'Password'} {forgetflag ? 'Please enter a verification code' : 'Password'}
......
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