ant-design-pro icon indicating copy to clipboard operation
ant-design-pro copied to clipboard

👑 V6.0 多个请求怎么配置

Open wavesbig opened this issue 2 years ago • 1 comments

🥰 需求描述 | Requirements description

应用内有多个请求需要处理,不需要走公共的request的配置

wavesbig avatar Sep 12 '22 07:09 wavesbig

以下的 Issues 可能会帮助到你 / The following issues may help you

  • [#10216][50%]
  • [#10124][50%]

github-actions[bot] avatar Sep 12 '22 07:09 github-actions[bot]

https://umijs.org/docs/max/request

自己写个拦截器把,或者直接用fetch。

chenshuai2144 avatar Sep 24 '22 07:09 chenshuai2144

https://umijs.org/docs/max/request

自己写个拦截器把,或者直接用fetch。

或者暴露下axios也行,也不用自己在安装个依赖了

wavesbig avatar Sep 24 '22 07:09 wavesbig

我们的对axios搞了不少东西,为了保证稳定,你还是安装一下

chenshuai2144 avatar Sep 25 '22 04:09 chenshuai2144

我们的对axios搞了不少东西,为了保证稳定,你还是安装一下

ok

wavesbig avatar Sep 26 '22 00:09 wavesbig