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

[button] 支持设置按钮禁用时间,防止重复提交,单位毫秒 #3037

Closed
you-hei-mi opened this issue Jan 16, 2024 · 3 comments
Closed
Labels
wontfix This will not be worked on

Comments

@you-hei-mi
Copy link

这个功能解决了什么问题

开发人员经常在做表单提交等功能场景时,不加防抖、节流或加载动画,导致容易出现多次重复提交。

你建议的方案是什么

添加一个reset-time属性, 设置按钮禁用时间,防止重复提交,单位毫秒

Copy link
Contributor

👋 @you-hei-mi,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Copy link
Contributor

♥️ 有劳 @gnauhca 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @you-hei-mi

@uyarn
Copy link
Collaborator

uyarn commented Jan 16, 2024

这个不考虑在组件内增加 请在具体业务逻辑中添加

@uyarn uyarn added the wontfix This will not be worked on label Jan 16, 2024
@uyarn uyarn closed this as completed Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants