12345678910111213141516171819202122232425262728 |
- interface Window {
- existLoading: boolean
- lazy: number
- unique: number
- tokenRefreshing: boolean
- requests: Function[]
- eventSource: EventSource
- loadLangHandle: Record<string, any>
- }
- interface anyObj {
- [key: string]: any
- }
- interface TableDefaultData<T = any> {
- list: T
- remark: string
- total: number
- }
- interface ApiResponse<T = any> {
- code: number
- data: T
- msg: string
- time: number
- }
- type ApiPromise<T = any> = Promise<ApiResponse<T>>
|