taro-kit icon indicating copy to clipboard operation
taro-kit copied to clipboard

api 中的success error好像是有问题的

Open Yaob1990 opened this issue 4 years ago • 0 comments

我await 之后还是获取的原始数据,而不是res.data

修改成拦截器,可以使用。 最新的2.11版本

参考代码:https://github.com/TigerHee/taro-request/tree/master/servers

Yaob1990 avatar Apr 01 '20 08:04 Yaob1990