This commit is contained in:
Mrx
2026-05-22 16:28:50 +08:00
parent d18feb3090
commit ae6dce5546
34 changed files with 2456 additions and 1015 deletions

View File

@@ -14,3 +14,14 @@ export function hasToken() {
return false
}
}
export function clearAuthSession() {
try {
uni.removeStorageSync('token')
uni.removeStorageSync('refreshAfter')
uni.removeStorageSync('accessExpire')
}
catch {
// ignore
}
}