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

使用 Attachment 组件上传图片时,图片在初始状态下会显示为破损图片,之后恢复正常 #515

Closed
ztkuaikuai opened this issue Feb 6, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@ztkuaikuai
Copy link
Contributor

ztkuaikuai commented Feb 6, 2025

重现步骤

在线示例链接:
https://ant-design-x.antgroup.com/components/attachments-cn#attachments-demo-with-sender

复现步骤:

  1. 随便上传一张图片
  2. 先是图裂状态
    Image
  3. 之后恢复正常
    Image

预期行为

预期在图片预览时不出现图裂状态

版本

1.0.5

您在哪些浏览器上遇到了这个问题?

Chrome

@ztkuaikuai ztkuaikuai added the bug Something isn't working label Feb 6, 2025
Copy link

目前没有找到与您的问题相似的其他报告。您提到的问题可能是一个新的问题。为了帮助您解决这个问题,您可以尝试以下步骤:

  1. 检查网络请求:在图片上传和显示过程中,使用浏览器的开发者工具检查网络请求,看看是否有任何错误或延迟。
  2. 更新组件:确保您使用的是最新版本的 ant-design/x 组件库,因为问题可能已经在更新中被修复。
  3. 调试代码:查看您的代码实现,确保没有影响图片加载的逻辑错误。

如果这些步骤没有帮助,您可以考虑在 ant-design/x 的 GitHub 仓库中提交一个新的问题报告,以便开发团队能够进一步调查。

如果您需要进一步的帮助,请随时告诉我。

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants