From 947d9cbff4db5748ef215c411e74cf54d4e4497c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 19 Jul 2019 23:38:05 +0800 Subject: [PATCH] b --- public/react/src/modules/user/LoginRegisterComponent.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/react/src/modules/user/LoginRegisterComponent.js b/public/react/src/modules/user/LoginRegisterComponent.js index bc4180c91..4a65b8359 100644 --- a/public/react/src/modules/user/LoginRegisterComponent.js +++ b/public/react/src/modules/user/LoginRegisterComponent.js @@ -217,25 +217,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; }