杨树林 5 years ago
commit e5c64f7d57

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

Loading…
Cancel
Save