update:修复黑屏下挤号问题
This commit is contained in:
@@ -42,6 +42,7 @@ function request(method, url, data = {}) {
|
||||
if (code === 0) resolve(data);
|
||||
else if (message) {
|
||||
if (message.indexOf("登录身份已失效") !== -1) {
|
||||
console.log('1111111111111111111,token失效')
|
||||
uni.removeStorageSync(
|
||||
`${uni.getAccountInfoSync().miniProgram.envVersion}_token`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user