API 参考
    正在准备搜索索引...

    类 Axios

    层级 (查看层级一览)

    索引
    defaults: AxiosDefaults
    interceptors: {
        request: AxiosInterceptorManager<InternalAxiosRequestConfig<any, any>>;
        response: AxiosInterceptorManager<AxiosResponse<any, any, {}, any>>;
    }
    • 类型参数

      • T = any
      • R = typeof axiosResponseDefault
      • D = any
      • P = any

      参数

      返回 Promise<AxiosResponseResult<T, R, D, P>>

    • 类型参数

      • T = any
      • R = typeof axiosResponseDefault
      • D = any
      • P = any

      参数

      返回 Promise<AxiosResponseResult<T, R, D, P>>

    • 参数

      返回 string

    • 类型参数

      • T = any
      • R = typeof axiosResponseDefault
      • D = any
      • P = any

      参数

      返回 Promise<AxiosResponseResult<T, R, D, P>>

    • 类型参数

      • T = any
      • R = typeof axiosResponseDefault
      • D = any
      • P = any

      参数

      返回 Promise<AxiosResponseResult<T, R, D, P>>

    • 类型参数

      • T = any
      • R = typeof axiosResponseDefault
      • D = any
      • P = any

      参数

      返回 Promise<AxiosResponseResult<T, R, D, P>>

    • 类型参数

      • T = any
      • R = typeof axiosResponseDefault
      • D = any
      • P = any

      参数

      返回 Promise<AxiosResponseResult<T, R, D, P>>

    post

    • post<T = any, R = typeof axiosResponseDefault, D = any, P = any>(
          url: string,
          data?: D,
          config?: AxiosRequestConfig<D, P>,
      ): Promise<AxiosResponseResult<T, R, D, P>>

      类型参数

      • T = any
      • R = typeof axiosResponseDefault
      • D = any
      • P = any

      参数

      返回 Promise<AxiosResponseResult<T, R, D, P>>

    • 类型参数

      • T = any
      • R = typeof axiosResponseDefault
      • D = any
      • P = any

      参数

      返回 Promise<AxiosResponseResult<T, R, D, P>>

    • 类型参数

      • T = any
      • R = typeof axiosResponseDefault
      • D = any
      • P = any

      参数

      返回 Promise<AxiosResponseResult<T, R, D, P>>

    • 类型参数

      • T = any
      • R = typeof axiosResponseDefault
      • D = any
      • P = any

      参数

      返回 Promise<AxiosResponseResult<T, R, D, P>>

    • 类型参数

      • T = any
      • R = typeof axiosResponseDefault
      • D = any
      • P = any

      参数

      返回 Promise<AxiosResponseResult<T, R, D, P>>

    • 类型参数

      • T = any
      • R = typeof axiosResponseDefault
      • D = any
      • P = any

      参数

      返回 Promise<AxiosResponseResult<T, R, D, P>>