diff --git a/public/react/src/modules/login/EducoderLogin.js b/public/react/src/modules/login/EducoderLogin.js index 8e8bfd112..99f2b83d7 100644 --- a/public/react/src/modules/login/EducoderLogin.js +++ b/public/react/src/modules/login/EducoderLogin.js @@ -162,7 +162,7 @@ class EducoderLogin extends Component {
this.Setshowbool(e,name,pass)} > + Setshowbool={(e)=>this.Setshowbool(e)} >
diff --git a/public/react/src/modules/user/FindPasswordComponent.js b/public/react/src/modules/user/FindPasswordComponent.js index 2d69e966b..0e4837dcb 100644 --- a/public/react/src/modules/user/FindPasswordComponent.js +++ b/public/react/src/modules/user/FindPasswordComponent.js @@ -41,6 +41,8 @@ class LoginRegisterComponent extends Component { readonlyInput: true, dragOk: false, Whethertoverify:false, + modalsType:true, + } } @@ -154,9 +156,6 @@ class LoginRegisterComponent extends Component { } //找回密码 Retrievepassword = () => { - this.setState({ - modalsType:true - }) if (this.state.Phonenumberisnotcobool === false) { if (this.state.login.length === 0) { this.setState({ @@ -409,7 +408,6 @@ class LoginRegisterComponent extends Component { render() { const { - activeKey, // 登录 autoLogin, // 注册 @@ -434,7 +432,7 @@ class LoginRegisterComponent extends Component {
this.StudyMakeMoney()} /> diff --git a/public/react/src/modules/user/LoginRegisterComponent.js b/public/react/src/modules/user/LoginRegisterComponent.js index 2c485bda4..d30d23db5 100644 --- a/public/react/src/modules/user/LoginRegisterComponent.js +++ b/public/react/src/modules/user/LoginRegisterComponent.js @@ -33,7 +33,6 @@ class LoginRegisterComponent extends Component { // console.log(props.loginstatus); this.state = { tab:["0"], - activeKey: 0, classpass: "text", // 登录 passopens: passoff, @@ -67,7 +66,6 @@ class LoginRegisterComponent extends Component { // console.log(props.loginstatus); this.state = { tab:["1"], - activeKey: '1', classpass: "text", // 登录 passopens: passoff, @@ -111,12 +109,10 @@ class LoginRegisterComponent extends Component { this.state = { tab:["0"], } - this.onTabChange('0'); } else if (this.props.match.url === "/register") { this.state = { tab:["1"], } - this.onTabChange('1'); } } @@ -132,7 +128,6 @@ class LoginRegisterComponent extends Component { } - ; StudyMakeMoney = () => { // 调用父组件方法 this.props.Setshowbool(3); // this.props.Setlogins(3); @@ -146,8 +141,6 @@ class LoginRegisterComponent extends Component { } onTabChange = (activeKey) => { console.log("onTabChange"); - // console.log(activeKey); - // this.setState({activeKey}) } // -------------------- LOGIN START //下次自动登入 @@ -608,7 +601,6 @@ class LoginRegisterComponent extends Component { } render() { const { - activeKey, // 登录 autoLogin, classpass, diff --git a/public/react/src/modules/user/ReadPassword.js b/public/react/src/modules/user/ReadPassword.js index 27bd10d06..f62d08295 100644 --- a/public/react/src/modules/user/ReadPassword.js +++ b/public/react/src/modules/user/ReadPassword.js @@ -28,12 +28,12 @@ class ReadPassword extends Component { destroyOnClose={true} title="提示" centered={true} - visible={this.props.modalsTypes===undefined?false:this.props.modalsTypes} + visible={this.props.modalsType===undefined?false:this.props.modalsType} width="530px" >

密码已重置,请重新登录

- 知道啦 + 知道啦
)