U 更新登录页输入框提示

pull/22/head
vapao 2020-01-22 14:26:17 +08:00
parent ed99d65c99
commit 87b9cda7fd
1 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ class LoginIndex extends React.Component {
<Input <Input
size="large" size="large"
autoComplete="off" autoComplete="off"
placeholder="请输入账户: admin" placeholder="请输入账户"
prefix={<Icon type="user" className={styles.icon}/>}/> prefix={<Icon type="user" className={styles.icon}/>}/>
)} )}
</Form.Item> </Form.Item>
@ -93,7 +93,7 @@ class LoginIndex extends React.Component {
size="large" size="large"
type="password" type="password"
autoComplete="off" autoComplete="off"
placeholder="请输入密码: spug" placeholder="请输入密码"
onPressEnter={this.handleSubmit} onPressEnter={this.handleSubmit}
prefix={<Icon type="lock" className={styles.icon}/>}/> prefix={<Icon type="lock" className={styles.icon}/>}/>
)} )}