|
@@ -47,6 +47,7 @@ const request = (opt) => {
|
|
/*******************未授权***************************/
|
|
/*******************未授权***************************/
|
|
if (res.data.code === 401) {
|
|
if (res.data.code === 401) {
|
|
uni.removeStorageSync('info');
|
|
uni.removeStorageSync('info');
|
|
|
|
+ uni.removeStorageSync('token');
|
|
uni.redirectTo({url:'/pages/login/login'})
|
|
uni.redirectTo({url:'/pages/login/login'})
|
|
return;
|
|
return;
|
|
}
|
|
}
|