版博士V2.0程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

42 lines
653 B

  1. import axios from './lib/axios.js';
  2. // This module is intended to unwrap Axios default export as named.
  3. // Keep top-level export same with static properties
  4. // so that it can keep same with es module or cjs
  5. const {
  6. Axios,
  7. AxiosError,
  8. CanceledError,
  9. isCancel,
  10. CancelToken,
  11. VERSION,
  12. all,
  13. Cancel,
  14. isAxiosError,
  15. spread,
  16. toFormData,
  17. AxiosHeaders,
  18. HttpStatusCode,
  19. formToJSON,
  20. mergeConfig
  21. } = axios;
  22. export {
  23. axios as default,
  24. Axios,
  25. AxiosError,
  26. CanceledError,
  27. isCancel,
  28. CancelToken,
  29. VERSION,
  30. all,
  31. Cancel,
  32. isAxiosError,
  33. spread,
  34. toFormData,
  35. AxiosHeaders,
  36. HttpStatusCode,
  37. formToJSON,
  38. mergeConfig
  39. }