|
|
@ -211,9 +211,14 @@ class LoginRegisterComponent extends Component {
|
|
|
|
login: this.state.login,
|
|
|
|
login: this.state.login,
|
|
|
|
password: this.state.password,
|
|
|
|
password: this.state.password,
|
|
|
|
}).then((response) => {
|
|
|
|
}).then((response) => {
|
|
|
|
|
|
|
|
|
|
|
|
if (response === undefined) {
|
|
|
|
if (response === undefined) {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(response.data.identity === null || response.data.identity === undefined){
|
|
|
|
|
|
|
|
this.props.history.push("/interesse");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
if(response.status === -2){
|
|
|
|
if(response.status === -2){
|
|
|
|
if("该手机号尚未注册" || "该邮箱尚未注册"){
|
|
|
|
if("该手机号尚未注册" || "该邮箱尚未注册"){
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|