From ecbb557fef67be6cf55a057d482b0d015f09d65f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Tue, 3 Sep 2019 17:45:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=88=A0=E9=99=A4=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/user/FindPasswordComponent.js | 88 +++++++++---------- .../modules/user/LoginRegisterComponent.js | 87 +++++++++--------- 2 files changed, 86 insertions(+), 89 deletions(-) diff --git a/public/react/src/modules/user/FindPasswordComponent.js b/public/react/src/modules/user/FindPasswordComponent.js index b6e9dda22..415ff49b0 100644 --- a/public/react/src/modules/user/FindPasswordComponent.js +++ b/public/react/src/modules/user/FindPasswordComponent.js @@ -246,12 +246,12 @@ class LoginRegisterComponent extends Component { }) return } - if (this.state.codes === undefined|| this.state.codes.length ===0 || this.state.codes === "") { - this.setState({ - Phonenumberisnotcosyzm:"验证码不能为空" - }) - return - } + // if (this.state.codes === undefined|| this.state.codes.length ===0 || this.state.codes === "") { + // this.setState({ + // Phonenumberisnotcosyzm:"验证码不能为空" + // }) + // return + // } var url = "/accounts/reset_password.json"; axios.post(url, { login: this.state.login, @@ -757,46 +757,42 @@ class LoginRegisterComponent extends Component {
: } -- {Phonenumberisnotcosyzm} -
- : - } + {/**/} + {/* {Phonenumberisnotcosyzm}*/} + {/*
*/} + {/* : */} + {/*}*/}