对接切换小区接口
This commit is contained in:
@@ -43,7 +43,7 @@ export default function request(url, data = {}, method = "GET") {
|
||||
uni.showToast({ title: '登录过期,请重新登录', icon: 'none', duration: 2000 });
|
||||
uni.clearStorageSync('token');
|
||||
setTimeout(() => {
|
||||
uni.reLaunch({ url: '/pages/login/login' });
|
||||
uni.reLaunch({ url: '/pageSubPack/loginSub/pwd-login' });
|
||||
}, 1500);
|
||||
reject('token 过期');
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user