Commit 66e238ee authored by 张硕's avatar 张硕 Committed by 陈帅

login 账号密码错误的时候 报错信息不对 (#2532)

语言的变量写错了
parent 4d4e4199
...@@ -80,7 +80,7 @@ class LoginPage extends Component { ...@@ -80,7 +80,7 @@ class LoginPage extends Component {
{login.status === 'error' && {login.status === 'error' &&
login.type === 'account' && login.type === 'account' &&
!submitting && !submitting &&
this.renderMessage(formatMessage({ id: 'app.message-login.invalid-credentials' }))} this.renderMessage(formatMessage({ id: 'app.login.message-invalid-credentials' }))}
<UserName name="userName" placeholder="admin/user" /> <UserName name="userName" placeholder="admin/user" />
<Password <Password
name="password" name="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