Skip to content

fix(chat-sender-attachments): fix chat sender attachment example#6563

Closed
JefferyHcool wants to merge 1 commit intoTencent:developfrom
JefferyHcool:fix/chat-sender-example
Closed

fix(chat-sender-attachments): fix chat sender attachment example#6563
JefferyHcool wants to merge 1 commit intoTencent:developfrom
JefferyHcool:fix/chat-sender-example

Conversation

@JefferyHcool
Copy link
Copy Markdown
Contributor

@JefferyHcool JefferyHcool commented Apr 1, 2026

…oid invalid loading

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

#6478

💡 需求背景和解决方案

在官网提供的 example 中 ,chat-sender 的附件例子中
对于图片附件并没有为图片附件提供url 所以当其他附件删除之后会去拉去图片

修复之前

ChatSender 对话输入 - TDesign — 4月1日 22 07

修复之后

output

📝 更新日志

fix(chat-sender): 修复官网中 chatSender 组件的附件演示问题

  • 本条 PR 不需要纳入 Changelog

@tdesign-vue-next/chat

fix(chat-sender): 修复 example 中图片附件删除无图片加载问题。

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@uyarn
Copy link
Copy Markdown
Collaborator

uyarn commented Apr 2, 2026

这个展示效果还需要配合webcomponents的改动,有图片url的时候应该展示图片本身缩略图,而不是普通图片的这个image效果,不然不太一致

@JefferyHcool
Copy link
Copy Markdown
Contributor Author

这个展示效果还需要配合webcomponents的改动,有图片url的时候应该展示图片本身缩略图,而不是普通图片的这个image效果,不然不太一致

好的,明白。我修改以后重新提交PR

@JefferyHcool
Copy link
Copy Markdown
Contributor Author

这个展示效果还需要配合webcomponents的改动,有图片url的时候应该展示图片本身缩略图,而不是普通图片的这个image效果,不然不太一致

我已经在 web-component 仓库提交了新的PR 我这条就关闭了 TDesignOteam/tdesign-web-components#385

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

Successfully merging this pull request may close these issues.

2 participants