diff --git a/public/react/src/modules/user/LoginRegisterComponent.js b/public/react/src/modules/user/LoginRegisterComponent.js index 405200a3a..458da0d98 100644 --- a/public/react/src/modules/user/LoginRegisterComponent.js +++ b/public/react/src/modules/user/LoginRegisterComponent.js @@ -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; }