杂务:整理文档并收口 YumiNail 修复

This commit is contained in:
xiaowang
2026-05-21 18:43:59 +08:00
parent 3797938616
commit 9227ec6175
362 changed files with 8358 additions and 19928 deletions
+5 -1
View File
@@ -192,7 +192,11 @@ async function refreshToken() {
}
async function handleUnauthorized(options) {
if (options._retry || isWhitelistedPath(options.url)) {
if (isWhitelistedPath(options.url)) {
throw normalizeError('\u8bf7\u6c42\u9700\u8981\u767b\u5f55\uff0c\u4f46\u5f53\u524d\u9875\u9762\u5141\u8bb8\u533f\u540d\u67e5\u770b', 401)
}
if (options._retry) {
auth.clearSession()
const app = getApp()
if (app && typeof app.clearUserSession === 'function') {