Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Yaob1990 opened this issue Apr 1, 2020 · 0 comments
Open

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

Yaob1990 opened this issue Apr 1, 2020 · 0 comments

Comments

@Yaob1990
Copy link

Yaob1990 commented Apr 1, 2020

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant