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 {

:
} -
- - - - { - getverificationcodes === undefined ? - - : getverificationcodes === true ? - - : - - } - - -
- - { - Phonenumberisnotcosyzm && Phonenumberisnotcosyzm !== "" ? -

- {Phonenumberisnotcosyzm} -

- :
- } + {/*
*/} + {/* */} + {/* */} + {/* {*/} + {/* getverificationcodes === undefined ?*/} + {/* */} + {/* : getverificationcodes === true ?*/} + {/* */} + {/* :*/} + {/* */} + {/* }*/} + {/*
*/} + {/*{*/} + {/* Phonenumberisnotcosyzm && Phonenumberisnotcosyzm !== "" ?*/} + {/*

*/} + {/* {Phonenumberisnotcosyzm}*/} + {/*

*/} + {/* :
*/} + {/*}*/} - : getverificationcodes === true ? - - : - - } - - -
- { - Phonenumberisnotcosyzm && Phonenumberisnotcosyzm !== "" ? -

- {Phonenumberisnotcosyzm} -

- :
- - } -
+ {/*
*/} + + {/* */} + {/* */} + {/* {*/} + {/* getverificationcodes === undefined ?*/} + {/* */} + {/* : getverificationcodes === true ?*/} + {/* */} + {/* :*/} + {/* */} + {/* }*/} + + {/*
*/} + {/*
*/} + {/* {*/} + {/* Phonenumberisnotcosyzm && Phonenumberisnotcosyzm !== "" ?*/} + {/*

*/} + {/* {Phonenumberisnotcosyzm}*/} + {/*

*/} + {/* :
*/} + + {/* }*/} + {/*
*/}