优化登录页面

This commit is contained in:
java110 2020-05-08 07:43:11 +08:00
parent 04d6daa1d6
commit 13a9aa0960
2 changed files with 4 additions and 2 deletions

View File

@ -91,11 +91,12 @@
});
return;
}
vc.toast(json);
vc.component.loginInfo.errorInfo = json;
},
function (errInfo, error) {
console.log('请求失败处理');
vc.toast(errInfo);
vc.component.loginInfo.errorInfo = errInfo;
});

View File

@ -140,11 +140,12 @@
vc.jumpToPage("/user.html#/pages/frame/login");
return ;
}
vc.toast(json);
vc.component.registerInfo.errorInfo = json;
},
function(errInfo,error){
console.log('请求失败处理');
vc.toast(errInfo);
vc.component.registerInfo.errorInfo = errInfo;
});