We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The text was updated successfully, but these errors were encountered:
调试了一下,是有这个问题。官方的bug 官方文档里说支持支付宝
Sorry, something went wrong.
@liuyunzyj 我的小程序最近也要转为支付宝小程序遇到同样的问题,然后发现可以在chain.proceed的catch内处理可行。
return chain.proceed(requestParams).then(res=>{}).catch(err=>{ if (err.status === HTTP_STATUS.AUTHENTICATE) { Taro.setStorageSync("Authorization", ""); pageToLogin() return Promise.reject("需要鉴权"); } })
我也是在catch内处理的
可是在catch内处理的话,拿不到接口返回的数据。我在被这个问题所困扰
error就是服务端抛出的数据哒
No branches or pull requests
The text was updated successfully, but these errors were encountered: