@@ -66,9 +66,19 @@
openId: this.carhelp.getOpenId(),
}).then((response) => {
- this.loginset(response)
-
+ if(response.message){
+ uni.hideLoading();
+ if(response.message=='没有权限'){
+
+ uni.showModal({
+ title:"提示",
+ showCancel:false,
+ content:"没有权限"
+ })
+ }
+ }else{
+ this.loginset(response)
}).catch(error => {
uni.hideLoading();