update:修复黑屏下挤号问题

This commit is contained in:
2026-05-20 18:29:57 +08:00
parent 52b26fdcfb
commit 8830650560
3 changed files with 38 additions and 17 deletions
+1
View File
@@ -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`
);