|
|
@@ -342,6 +342,9 @@ export default { |
|
|
}).catch((err)=>{ |
|
|
}).catch((err)=>{ |
|
|
if(err.response.status===403 && err.response.data.code===1 ){ |
|
|
if(err.response.status===403 && err.response.data.code===1 ){ |
|
|
location.href=`${AppSubUrl}/authentication/wechat/bind` |
|
|
location.href=`${AppSubUrl}/authentication/wechat/bind` |
|
|
|
|
|
} |
|
|
|
|
|
if(err.response.status===401){ |
|
|
|
|
|
location.href=`${AppSubUrl}/user/login` |
|
|
} |
|
|
} |
|
|
this.btnStatus[index]=0 |
|
|
this.btnStatus[index]=0 |
|
|
this.alertCb = false |
|
|
this.alertCb = false |
|
|
|