实现登录态自动续期并优化扫码兼容性
This commit is contained in:
15
src/types/axios.d.ts
vendored
Normal file
15
src/types/axios.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import 'axios'
|
||||
|
||||
declare module 'axios' {
|
||||
export interface AxiosRequestConfig<D = any> {
|
||||
skipAuth?: boolean
|
||||
skipAuthRefresh?: boolean
|
||||
authRetry?: boolean
|
||||
}
|
||||
|
||||
export interface InternalAxiosRequestConfig<D = any> {
|
||||
skipAuth?: boolean
|
||||
skipAuthRefresh?: boolean
|
||||
authRetry?: boolean
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user