|
@@ -35,7 +35,12 @@ _axios.interceptors.request.use(
|
|
|
_axios.interceptors.response.use(
|
|
|
function (response) {
|
|
|
// Do something with response data
|
|
|
-
|
|
|
+ if(response.data.code===403){
|
|
|
+ wx.miniProgram.reLaunch({
|
|
|
+ url:"/pages/login/login"
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
return response.data;
|
|
|
},
|
|
|
function (error) {
|