ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

When the upload component is in the formItem, the verification will be triggered multiple times when the file is uploaded.

Open hulong-prong opened this issue 3 years ago • 0 comments
trafficstars

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.6

Environment

都存在

Reproduction link

https://github.com/vueComponent/ant-design-vue/blob/main/components/upload/Upload.tsx

Steps to reproduce

https://github.com/vueComponent/ant-design-vue/blob/main/components/upload/Upload.tsx 里面的104行

What is expected?

期望应该时文件上传完了在触发 formItemContext.onFieldChange(); 方法,而不是只要发生change 就触发

What is actually happening?

交互错误

hulong-prong avatar Jun 08 '22 09:06 hulong-prong

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Aug 12 '22 03:08 github-actions[bot]