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

When using customRequest, why beforeUpload has prompted an error that the operation file is too large, and the handleChange is still triggered in the next step. Prompt info.file.status === "uploading" #4892

Closed
1 task
Messilimeng opened this issue Nov 16, 2021 · 3 comments
Labels
1.x version 1.x outdated

Comments

@Messilimeng
Copy link

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

Version

1.7.2

Environment

^2.6.11

Reproduction link

https://github.com/vueComponent/ant-design-vue/issues/new/choose

Steps to reproduce

customRequest beforeUpload return false than handleChange happend event

What is expected?

希望beforeUpload false 就不在触发下面事件

What is actually happening?

提示错误后仍然被触发

1637071172(1)

@github-actions github-actions bot changed the title 使用customRequest 为什么 beforeUpload 已经提示返回错误了操作文件太大 ,下一步handleChange 还是被触发 提示 info.file.status === "uploading" When using customRequest, why beforeUpload has prompted an error that the operation file is too large, and the handleChange is still triggered in the next step. Prompt info.file.status === "uploading" Nov 16, 2021
@tangjinzhou tangjinzhou added the 1.x version 1.x label Nov 20, 2021
@tangjinzhou
Copy link
Member

return false

@hanpandeng
Copy link

return false

@github-actions
Copy link

github-actions bot commented Mar 9, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1.x version 1.x outdated
Projects
None yet
Development

No branches or pull requests

3 participants