mirror of
https://gitee.com/la-vie/console-pro-free.git
synced 2024-12-26 11:49:14 +00:00
44 lines
681 B
JavaScript
44 lines
681 B
JavaScript
import axios from './lib/axios.js';
|
|
|
|
// This module is intended to unwrap Axios default export as named.
|
|
// Keep top-level export same with static properties
|
|
// so that it can keep same with es module or cjs
|
|
const {
|
|
Axios,
|
|
AxiosError,
|
|
CanceledError,
|
|
isCancel,
|
|
CancelToken,
|
|
VERSION,
|
|
all,
|
|
Cancel,
|
|
isAxiosError,
|
|
spread,
|
|
toFormData,
|
|
AxiosHeaders,
|
|
HttpStatusCode,
|
|
formToJSON,
|
|
getAdapter,
|
|
mergeConfig
|
|
} = axios;
|
|
|
|
export {
|
|
axios as default,
|
|
Axios,
|
|
AxiosError,
|
|
CanceledError,
|
|
isCancel,
|
|
CancelToken,
|
|
VERSION,
|
|
all,
|
|
Cancel,
|
|
isAxiosError,
|
|
spread,
|
|
toFormData,
|
|
AxiosHeaders,
|
|
HttpStatusCode,
|
|
formToJSON,
|
|
getAdapter,
|
|
mergeConfig
|
|
}
|