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

[UploadDragger] 在 beforeUpload 函数 return false 时仍会发起上传请求 #6995

Closed
1 task done
onlyil opened this issue Sep 28, 2023 · 1 comment
Closed
1 task done

Comments

@onlyil
Copy link

onlyil commented Sep 28, 2023

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

Version

4.0.1

Environment

Macos 13.4.1, Chrome 116.0.5845.187, vue 3.2.37

Reproduction link

Edit on CodeSandbox

Steps to reproduce

codepen 中对 UploadDragger 和 Upload 组件做了对照,并附有说明

What is expected?

[UploadDragger] 组件在 beforeUpload 函数 return false 时不会发起上传请求

What is actually happening?

[UploadDragger] 组件在 beforeUpload 函数 return false 时仍会发起上传请求
[Upload] 普通上传组件在 beforeUpload 函数 return false 时不会发起上传请求,符合预期

@ZhangYuScott
Copy link

Please check your code, and improve your Vue skills. thanks a lot.

@onlyil onlyil closed this as completed Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants