|
|
@ -69,7 +69,7 @@ module.exports = (vm) => { |
|
|
|
icon:'none' |
|
|
|
icon:'none' |
|
|
|
}); |
|
|
|
}); |
|
|
|
if(data.code==401){ |
|
|
|
if(data.code==401){ |
|
|
|
uni.navigateTo({ |
|
|
|
uni.reLaunch({ |
|
|
|
url:'/pages/login/login' |
|
|
|
url:'/pages/login/login' |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
@ -79,7 +79,7 @@ module.exports = (vm) => { |
|
|
|
|
|
|
|
|
|
|
|
}, (response) => { |
|
|
|
}, (response) => { |
|
|
|
if(response.data.code==401){ |
|
|
|
if(response.data.code==401){ |
|
|
|
uni.navigateTo({ |
|
|
|
uni.reLaunch({ |
|
|
|
url:'/pages/login/login' |
|
|
|
url:'/pages/login/login' |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|