From 4778d9533d69c85161dc806e1f3ddf44806fe86b Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 7 Jan 2018 16:48:14 +0800 Subject: [PATCH] Fix login fail --- src/routes/User/Login.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/User/Login.js b/src/routes/User/Login.js index c52f51ba..ed4b71b8 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('验证码错误') } -- GitLab