U - 登录添加默认账号密码提示

pull/22/head
zypo 2020-01-21 18:41:09 +08:00
parent 8ac7a0f563
commit 27bfde83c1
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="请输入账户" placeholder="请输入账户: admin"
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="请输入密码" placeholder="请输入密码: spug"
onPressEnter={this.handleSubmit} onPressEnter={this.handleSubmit}
prefix={<Icon type="lock" className={styles.icon}/>}/> prefix={<Icon type="lock" className={styles.icon}/>}/>
)} )}