amis icon indicating copy to clipboard operation
amis copied to clipboard

表单重复提交问题,有防抖属性可配置吗?

Open icodingx opened this issue 4 years ago • 2 comments

是否关联于某个问题吗:

表单重复提交问题

预期的解决方案:

按钮或API有没有配置防抖的属性?

icodingx avatar Dec 30 '21 02:12 icodingx

不需要防抖,提交的时候会禁用按钮,直到 api 返回的时候才能再次点击

nwind avatar Jan 12 '22 06:01 nwind

不需要防抖,提交的时候会禁用按钮,直到 api 返回的时候才能再次点击

大佬请问这个是从哪一个版本开始出现的机制呢?我们从1.9.0版本上发现在极短时间内多次点击同一个按钮,会发送多次请求,请求都被发送成功了

pq-dong avatar Nov 25 '22 05:11 pq-dong