UNPKG

@pit-front-end/utils

Version:

湖南创智艾泰克科技有限公司

17 lines (15 loc) 537 B
import { AxiosRequestConfig } from 'axios'; export declare class Service { constructor(); private axiosInstance; private httpInterceptorsRequest; request<T>(config: AxiosRequestConfig): Promise<T>; } declare let httpService2: { request: <T>(config: AxiosRequestConfig) => Promise<T>; }; export declare const http2: import('vue').ComputedRef<Service | null>; export declare const http3: Service | null; export declare const http4: Service; export { httpService2 as http }; export declare const initRequest: () => {};