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
onClick每次点击都是一个新的值,如果缓存了,则点击失效,如果不缓存,则自动触发点击,进入无限循环
The text was updated successfully, but these errors were encountered:
show me the code
Sorry, something went wrong.
用 useDebounceFn 包裹住你的onClick function
useDebounceFn
https://ahooks.js.org/hooks/use-debounce-fn/
No branches or pull requests
onClick每次点击都是一个新的值,如果缓存了,则点击失效,如果不缓存,则自动触发点击,进入无限循环
The text was updated successfully, but these errors were encountered: