ant-design-vue
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.
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?
交互错误
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