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

useRequest 不能配置错误重试吗? #23

Closed
xiao252 opened this issue Apr 22, 2022 · 5 comments
Closed

useRequest 不能配置错误重试吗? #23

xiao252 opened this issue Apr 22, 2022 · 5 comments
Labels
bug Something isn't working feature new feature help wanted Extra attention is needed taro-hooks-next next version own wontfix This will not be worked on

Comments

@xiao252
Copy link

xiao252 commented Apr 22, 2022

例如ahooks useRequest 的 retryCount

  • taro-hooks: 1.5.6
  • taro:3.4.6
  • node:16.0.0
  • Browser: chrome99
@xiao252 xiao252 added the bug Something isn't working label Apr 22, 2022
@innocces
Copy link
Owner

retryCount 是 3.x ahooks 的新增功能. taro-hooks 中的 useRequest 是基于 2.x 的 ahooks 改写的. 目前还不支持

@innocces innocces added the help wanted Extra attention is needed label Apr 23, 2022
@github-actions
Copy link

Hello @xiao252. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please be sure to fill in the default template in the Pull Request, provide changelog/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!

你好 @xiao252,我们完全同意你的提议/反馈,欢迎直接在此仓库创建一个 Pull Request 来解决这个问题。请务必填写 Pull Request 内的预设模板,提供改动所需相应的 changelog、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。

@stale
Copy link

stale bot commented Jun 22, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jun 22, 2022
@innocces innocces added feature new feature and removed wontfix This will not be worked on labels Jun 23, 2022
@stale
Copy link

stale bot commented Aug 31, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Aug 31, 2022
@innocces
Copy link
Owner

innocces commented Sep 2, 2022

可以尝试使用新版本. 2.0版本更新ahooks至3x. 已经可以使用retry了 传送门

@innocces innocces closed this as completed Sep 2, 2022
@innocces innocces added the taro-hooks-next next version own label Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature new feature help wanted Extra attention is needed taro-hooks-next next version own wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants