RainManGO / axios-mapper

🚀🚀make ts project easy to requset transform model
MIT License
41 stars 5 forks source link

不能使用axios的拦截器了 #5

Closed haoge744 closed 3 years ago

haoge744 commented 3 years ago

使用起来不是特别灵活,想对错误请求统一处理不太好弄

RainManGO commented 3 years ago

可以使用拦截器,已经暴露除了axiosinstance ,直接设置拦截器即可。稍后补全例子