|
@@ -29,6 +29,7 @@ const needLoadingApiList: any[] = [
|
|
'/api/statistic/monitor/for/group',
|
|
'/api/statistic/monitor/for/group',
|
|
'/api/statistic/marking/progress/check/for/unmark/list',
|
|
'/api/statistic/marking/progress/check/for/unmark/list',
|
|
'/api/statistic/marking/progress/ending',
|
|
'/api/statistic/marking/progress/ending',
|
|
|
|
+ '/api/train/monitor/list',
|
|
]
|
|
]
|
|
function useFetch<K extends ApiKeys>(key: K): ReturnType<K>
|
|
function useFetch<K extends ApiKeys>(key: K): ReturnType<K>
|
|
function useFetch<K extends ApiKeys>(key: K, config: AxiosRequestConfig, method?: HttpMethod): ReturnType<K>
|
|
function useFetch<K extends ApiKeys>(key: K, config: AxiosRequestConfig, method?: HttpMethod): ReturnType<K>
|