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

Upload 组件 配置 showUploadList 里的showDownLoadIcon 无法下载,鼠标为禁用手势 #48779

Closed
97thjingba opened this issue May 6, 2024 · 1 comment
Labels
🤔 Need Reproduce We cannot reproduce your problem unconfirmed

Comments

@97thjingba
Copy link

Reproduction link

Steps to reproduce

showUploadList={{
showDownLoadIcon:true
}}

What is expected?

正常使用下载功能

What is actually happening?

目前无法正常使用下载功能,为一个禁用的手势

Environment Info
antd 5.13.2
React 18.2.0
System window 10
Browser Google 124.0.6367.63

页面进入以后拿 file数据
fileList: [{
url:xx,
name:xx,
percent:100,
status: 'done',
}]

看了一眼源码,Upload组件我并没有设置disabled 属性
acceptUploadDisabled 这个值我看源码里面renderDownloadUpload的时候就没有设置布尔值。但是仍给我绑定了一个 disabled 属性在我的组件上

@afc163 afc163 added the 🤔 Need Reproduce We cannot reproduce your problem label May 6, 2024
Copy link
Contributor

github-actions bot commented May 6, 2024

Hello @97thjingba. Please provide a online reproduction by forking codesandbox of [email protected] or [email protected], or provide a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 3 days.

你好 @97thjingba,我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 [email protected][email protected] 的 codesandbox,或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。

什么是最小化重现,为什么这是必需的?

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤔 Need Reproduce We cannot reproduce your problem unconfirmed
Projects
None yet
Development

No branches or pull requests

2 participants