@@ -106,17 +106,23 @@
password:this.password,
phone:this.phone,
openId: this.carhelp.getOpenId(),
-
+ noerror:true,
}).then((response) => {
if(response.message){
+ uni.hideLoading();
if(response.message=='没有权限'){
- uni.hideLoading();
+
uni.showModal({
title:"提示",
showCancel:false,
content:"没有权限"
})
+ }else{
+ uni.showToast({
+ icon: "none",
+ title: response.message?response.message:"登录失败"
+ })
}
}else{
this.loginset(response)