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] 多选上传文件后,展示的文件列表有概率翻倍 #2331

Closed
fakeou opened this issue Jun 29, 2023 · 3 comments
Closed

[Upload] 多选上传文件后,展示的文件列表有概率翻倍 #2331

fakeou opened this issue Jun 29, 2023 · 3 comments
Assignees
Labels
need more info 需要更多信息理解 issue 的问题

Comments

@fakeou
Copy link

fakeou commented Jun 29, 2023

tdesign-react 版本

1.1.5

重现链接

https://codesandbox.io/s/nkyx2d?file=/src/demo.jsx

重现步骤

在官方的多选上传示例中,如果选中多个文件上传,其中包含未成功上传的文件,有概率使得displayFile与files不同步,如图,一般较大的exe或者dmg文件上传时会报错(files中的文件列表是正确的,而displayFiles列表除了失败的文件都重复了)

image

image

这是工作时截取的组件数据
image

期望结果

展示的文件数量与files一致
No response

实际结果

展示的文件数量不正确
No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@fakeou fakeou closed this as completed Jun 29, 2023
@github-actions
Copy link
Contributor

👋 @fakeou,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@fakeou fakeou changed the title [组件名称] 描述问题的标题 [Upload] 多选上传文件后,展示的文件列表有概率翻倍 Jun 29, 2023
@fakeou fakeou reopened this Jun 29, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 29, 2023

♥️ 有劳 @wookaoer @teal-front @carolin913 @chaishi 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @fakeou

@HaixingOoO HaixingOoO added the 🐞 bug Something isn't working label Oct 10, 2023
@chaishi chaishi added need more info 需要更多信息理解 issue 的问题 and removed 🐞 bug Something isn't working labels Nov 5, 2023
@chaishi
Copy link
Collaborator

chaishi commented Nov 5, 2023

对于概率事件的问题,我这边尝试了很多次,暂时没有复现,
辛苦提供一下明确可复现问题的操作路径,以便我们解决问题。

当前问题描述,暂时无法解决

@chaishi chaishi closed this as completed Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info 需要更多信息理解 issue 的问题
Projects
None yet
Development

No branches or pull requests

4 participants