Skip to content

Conversation

@fenghuijiuzhuan
Copy link

本次提交修复了 useRequest 钩子中防抖时间间隔使用错误的问题。之前的代码错误地使用了节流功能的 option.throttleInterval 参数,而不是防抖功能的 option.debounceInterval 参数,导致防抖功能未能正确生效。本次修复具体包括以下内容:

  1. 问题修复
  • 将 useRequest 钩子中的防抖参数从 option.throttleInterval 修正为 option.debounceInterval,确保防抖功能正常工作。
  1. 代码调整
  • 优化了防抖功能的实现,确保其能够正确读取并使用 option.debounceInterval 参数。

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.

1 participant