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

🐛[BUG] 表单上传组件渲染异常 #8958

Closed
qnnp-me opened this issue Jan 8, 2025 · 3 comments
Closed

🐛[BUG] 表单上传组件渲染异常 #8958

qnnp-me opened this issue Jan 8, 2025 · 3 comments

Comments

@qnnp-me
Copy link
Contributor

qnnp-me commented Jan 8, 2025

🐛 bug 描述

在使用ModalForm配合ProFormUploadButton 或者其他上传组件时在提交或者关闭窗口时文件列表会闪现重复渲染的文件节点

📷 复现步骤

见视频

🏞 期望结果

在修改数据或者状态时文件列表可以正常渲染

💻 复现代码

正常使用组件,无其他特别设置

© 版本信息

  • ProComponents 版本: 2.8.3
  • 开发环境 Linux

🚑 其他信息

请使用低倍速看

_._20250108105515.mp4
Copy link

github-actions bot commented Jan 8, 2025

以下的 Issues 可能会帮助到你 / The following issues may help you

@qnnp-me
Copy link
Contributor Author

qnnp-me commented Jan 8, 2025

只要ModalForm 重新渲染就会出现

@qnnp-me
Copy link
Contributor Author

qnnp-me commented Jan 8, 2025

此情况只出现在现有数据填充时,原因是因为未给每个文件分配uid ,分配了uid 之后即可解决

@qnnp-me qnnp-me closed this as completed Jan 8, 2025
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

1 participant