diff --git a/public/react/src/modules/login/Trialapplicationysl.js b/public/react/src/modules/login/Trialapplicationysl.js index a666353aa..2b369ef7f 100644 --- a/public/react/src/modules/login/Trialapplicationysl.js +++ b/public/react/src/modules/login/Trialapplicationysl.js @@ -45,26 +45,26 @@ class Trialapplicationysl extends Component { // this.props.Cancel() } // - // componentWillReceiveProps(nextProps) { - // // console.log("46"); - // // console.log(nextProps); - // // console.log(this.props); - // // if (nextProps.user != this.props.user) { - // // // console.log("50"); - // // // console.log(nextProps.user); - // // if (nextProps.user !== undefined) { - // // // console.log("53"); - // // // console.log(nextProps.user); - // // this.setState({ - // // user_phone_binded: nextProps.user.user_phone_binded, - // // }) - // // } - // // - // // - // // } - // - // - // } + componentWillReceiveProps(nextProps) { + // console.log("46"); + // console.log(nextProps); + // console.log(this.props); + if (nextProps.user != this.props.user) { + // console.log("50"); + // console.log(nextProps.user); + if (nextProps.user !== undefined) { + // console.log("53"); + // console.log(nextProps.user); + this.setState({ + user_phone_binded: nextProps.user.user_phone_binded, + }) + } + + + } + + + } getipthon=()=>{ // console.log("Trialapplicationysl"); // console.log("70"); diff --git a/public/react/src/modules/user/LoginRegisterComponent.js b/public/react/src/modules/user/LoginRegisterComponent.js index cf93a781b..9281d228c 100644 --- a/public/react/src/modules/user/LoginRegisterComponent.js +++ b/public/react/src/modules/user/LoginRegisterComponent.js @@ -718,8 +718,17 @@ class LoginRegisterComponent extends Component { console.log(classpass); return ( -
- +
+
diff --git a/public/react/src/modules/user/common.css b/public/react/src/modules/user/common.css index 4549fdfe9..0e00b623d 100644 --- a/public/react/src/modules/user/common.css +++ b/public/react/src/modules/user/common.css @@ -1,6 +1,6 @@ /*.login_register_content, .login_register_content .ant-tabs-tabpane {*/ -/* display: flex;*/ -/* justify-content: center; */ +/* !*display: flex;*!*/ +/* justify-content: center;*/ /*}*/ .login_register_content .ant-input { background:rgb(244,244,244);