This commit is contained in:
2026-02-22 20:34:02 +08:00
323 changed files with 1556 additions and 68450 deletions

View File

@@ -125,7 +125,7 @@ export default function createClientAxios(options = {}) {
on403(error)
}
if (data.code === 401 && typeof on401 === 'function') {
refreshTokenFn && refreshTokenFn()
on401(error)
}
return Promise.reject(error)
}