diff --git a/src/routes/User/Login.js b/src/routes/User/Login.js index c52f51ba50361b503f1f021c310eb5d97ee72526..ed4b71b8e58e24fbb6f880bfec5415b3264c8f0c 100644 --- a/src/routes/User/Login.js +++ b/src/routes/User/Login.js @@ -60,7 +60,7 @@ export default class LoginPage extends Component { { login.status === 'error' && login.type === 'account' && - login.submitting === false && + !login.submitting && this.renderMessage('账户或密码错误') } @@ -70,7 +70,7 @@ export default class LoginPage extends Component { { login.status === 'error' && login.type === 'mobile' && - login.submitting === false && + !login.submitting && this.renderMessage('验证码错误') }