Skip to content

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

@hulong-prong

Description

@hulong-prong
  • 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?

交互错误

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions