From fb898193bde039a138fe89c55bba6d01f85f174e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Wed, 17 Jul 2019 14:35:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/user/LoginRegisterComponent.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/public/react/src/modules/user/LoginRegisterComponent.js b/public/react/src/modules/user/LoginRegisterComponent.js index 943ac341e..551db6a4b 100644 --- a/public/react/src/modules/user/LoginRegisterComponent.js +++ b/public/react/src/modules/user/LoginRegisterComponent.js @@ -253,7 +253,6 @@ class LoginRegisterComponent extends Component { }).then((result) => { console.log(result); if(result){ - try { this.setState({ logins: "", dragOk: false, @@ -261,12 +260,8 @@ class LoginRegisterComponent extends Component { passwords: "", Agreetotheterms: "", }) - } catch (e) { - - } - }else{ - } - + this.props.history.push("/interesse"); + } }).catch((error) => { })