Skip to content

feat(file-card): support mini image preview #385

Open
JefferyHcool wants to merge 2 commits intoTDesignOteam:developfrom
JefferyHcool:fix/file-card-image-preview
Open

feat(file-card): support mini image preview #385
JefferyHcool wants to merge 2 commits intoTDesignOteam:developfrom
JefferyHcool:fix/file-card-image-preview

Conversation

@JefferyHcool
Copy link
Copy Markdown

@JefferyHcool JefferyHcool commented Apr 3, 2026

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

Tencent/tdesign-vue-next#6563 (comment)

💡 需求背景和解决方案

现在的 file-card 组件对于多文件类型的情况图片是无法根据url显示出图片的缩略图。

修改前

image

修复后

image

📝 更新日志

  • feat(file-card): 支持文件卡片的小图预览

  • 本条 PR 不需要纳入 Changelog

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

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

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

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.

1 participant