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

[t-upload] 上传非图片文件问题 #1531

Open
codehyl opened this issue Aug 9, 2024 · 1 comment
Open

[t-upload] 上传非图片文件问题 #1531

codehyl opened this issue Aug 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@codehyl
Copy link

codehyl commented Aug 9, 2024

tdesign-mobile-vue 版本

1.3.4

重现链接

https://github.com/Tencent/tdesign-mobile-vue/tree/develop/src/upload

重现步骤

上传文件组件,目前只对文件上传友好,配置{ status: 'success', response: { url: 'https://tdesign.gtimg.com/site/avatar.jpg' }后,图片显示正常,但非图片文件{ status: 'success', files: [{ url: 'https://xxx.png', name: 'xxx.png' }]}无法使用,交互逻辑混乱,组件不能使用

期望结果

希望同https://github.com/Tencent/tdesign-vue-next-starter保持一致,默认上传文件后显示名称和可删除图标,并可配置fileListDisplay属性实现自主展示上传文件清单

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

同一公司框架,期望主要控件功能尽量保持一致

Copy link
Contributor

github-actions bot commented Aug 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants