杨树林 5 years ago
commit e5c64f7d57

@ -222,25 +222,25 @@ class LoginRegisterComponent extends Component {
if(response.status === -2){ if(response.status === -2){
if("该手机号尚未注册" || "该邮箱尚未注册"){ if("该手机号尚未注册" || "该邮箱尚未注册"){
this.setState({ this.setState({
Phonenumberisnotco:result.data.message, Phonenumberisnotco:response.data.message,
}) })
return; return;
} }
else if("错误的账号或密码"){ else if("错误的账号或密码"){
this.setState({ this.setState({
Phonenumberisnotco:result.data.message, Phonenumberisnotco:response.data.message,
}) })
return; return;
} }
else if("违反平台使用规范,账号已被锁定"){ else if("违反平台使用规范,账号已被锁定"){
this.setState({ this.setState({
Phonenumberisnotco:result.data.message, Phonenumberisnotco:response.data.message,
}) })
return; return;
} }
else { else {
this.openNotification(result.data.message); this.openNotification(response.data.message);
return; return;
} }

Loading…
Cancel
Save