From cacd4319da0f5eae088d6841d6f2428c57e5e6ba 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, 15 Jul 2019 15:14: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/AppConfig.js | 6 +++--- .../react/src/modules/login/EducoderLogin.js | 15 ++++++++------- .../modules/user/LoginRegisterComponent.js | 19 ++----------------- 3 files changed, 13 insertions(+), 27 deletions(-) diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js index 8ef347e32..f7a6615db 100644 --- a/public/react/src/AppConfig.js +++ b/public/react/src/AppConfig.js @@ -146,9 +146,9 @@ export function initAxiosInterceptors(props) { } if (response.data.status === 402) { - // debugger - // console.log(response.data.status); - // console.log(response.data.url); + debugger + console.log(response.data.status); + console.log(response.data); locationurl(response.data.message); } diff --git a/public/react/src/modules/login/EducoderLogin.js b/public/react/src/modules/login/EducoderLogin.js index c062578d7..008d1717e 100644 --- a/public/react/src/modules/login/EducoderLogin.js +++ b/public/react/src/modules/login/EducoderLogin.js @@ -62,6 +62,7 @@ var newContainer={ bottom: "0px", minHeight: "100%", overflow:"hidden", + paddingTop: "40px", } class EducoderLogin extends Component { @@ -87,7 +88,7 @@ class EducoderLogin extends Component { }else if(props.match.url === "/register"){ // showbool: 1, this.state = { - showbool: 1, + showbool: 2, loginstatus:false, logini:2, namezh:"", @@ -141,7 +142,7 @@ class EducoderLogin extends Component { render() { let {showbool,loginstatus,logini} = this.state; return ( -