mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化登录页面
This commit is contained in:
parent
04d6daa1d6
commit
13a9aa0960
@ -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;
|
||||
});
|
||||
|
||||
|
||||
@ -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;
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user