From 975368af0090ed3a67c9bc738dbf923acf7a690a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Mon, 8 Jul 2019 09:03:26 +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/login/EducoderLogin.js | 2 +- public/react/src/modules/user/Interestpage.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/login/EducoderLogin.js b/public/react/src/modules/login/EducoderLogin.js index 787acedce..b46435fe7 100644 --- a/public/react/src/modules/login/EducoderLogin.js +++ b/public/react/src/modules/login/EducoderLogin.js @@ -116,9 +116,9 @@ class EducoderLogin extends Component { }) } else if(e===2) { this.setState({ - showbool: 2, namezh:name, passmm:pass, + showbool: 2, }) }else if(e===3){ this.setState({ diff --git a/public/react/src/modules/user/Interestpage.js b/public/react/src/modules/user/Interestpage.js index 97a52bae9..77397fbc6 100644 --- a/public/react/src/modules/user/Interestpage.js +++ b/public/react/src/modules/user/Interestpage.js @@ -122,7 +122,8 @@ class InterestpageComponent extends Component { interest_ids: ints, }).then((response) => { if (response !== undefined) { - this.Jumptotheinterestpage(); + // this.Jumptotheinterestpage(); + window.location.href = "/" }