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

fix(taro): interceptors 没有正确处理异常 #2565

Merged
merged 1 commit into from
Apr 1, 2019

Conversation

js-newbee
Copy link
Contributor

  1. timeoutInterceptor 在请求异常时没有清除计时器
  2. interceptor 中建议加一个默认的 catch 处理,否则加了 interceptor 又没有处理 catch,Taro.request 将无法触发 catch (如果觉得加默认处理不合适,那得在文档里注明下 interceptor 中要对 catch 处理哈)

@js-newbee js-newbee changed the title fix(tar): interceptors 没有正确处理异常 fix(taro): interceptors 没有正确处理异常 Mar 23, 2019
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

Successfully merging this pull request may close these issues.

2 participants