From f4431e6fdf5744bc8856542845931b630031a157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Tue, 3 Jul 2018 16:34:52 +0800 Subject: [PATCH] password add onPressEnter --- src/routes/User/Login.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/routes/User/Login.js b/src/routes/User/Login.js index f5f00a5a..2fc3e9d5 100644 --- a/src/routes/User/Login.js +++ b/src/routes/User/Login.js @@ -84,7 +84,11 @@ export default class LoginPage extends Component { !submitting && this.renderMessage('账户或密码错误(admin/888888)')} - + this.loginForm.validateFields(this.handleSubmit)} + /> {login.status === 'error' && -- GitLab