wangliang_wd

feat:优化找回密码

@@ -148,7 +148,7 @@ export class LoginModel { @@ -148,7 +148,7 @@ export class LoginModel {
148 HttpRequest.post<ResponseDTO<CheckVerifyBean>>(HttpUrlUtils.getCheckVerifyCodeUrl(), bean).then((data: ResponseDTO<CheckVerifyBean>) => { 148 HttpRequest.post<ResponseDTO<CheckVerifyBean>>(HttpUrlUtils.getCheckVerifyCodeUrl(), bean).then((data: ResponseDTO<CheckVerifyBean>) => {
149 Logger.debug("LoginViewModel:success2 ", data.message) 149 Logger.debug("LoginViewModel:success2 ", data.message)
150 if (!data || !data.data) { 150 if (!data || !data.data) {
151 - fail("数据为空") 151 + fail(data.message?data.message:"数据为空")
152 return 152 return
153 } 153 }
154 if (data.code != 0) { 154 if (data.code != 0) {