We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目前默认情况,即使是一个 Upload 组件(不是 Dragger),也可以通过将文件拖拽到按钮的方式,进行上传,这不是符合预期的行为。(如果我需要拖拽上传,我会使用 Dragger)
<Upload noDrop />
The text was updated successfully, but these errors were encountered:
What does the proposed API look like?
Sorry, something went wrong.
应该不需要额外加 props,看起来是 antd 的逻辑需要调整一下,onDrop 应该任何时候都回调用, 开发者通过阻止默认行为去阻止。
No branches or pull requests
What problem does this feature solve?
目前默认情况,即使是一个 Upload 组件(不是 Dragger),也可以通过将文件拖拽到按钮的方式,进行上传,这不是符合预期的行为。(如果我需要拖拽上传,我会使用 Dragger)
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: