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

[Upload]Upload组件itemRender 无效 #4402

Closed
wangzhongtang opened this issue Aug 14, 2023 · 2 comments
Closed

[Upload]Upload组件itemRender 无效 #4402

wangzhongtang opened this issue Aug 14, 2023 · 2 comments
Assignees
Labels
❓ Usage It's about how it works

Comments

@wangzhongtang
Copy link

wangzhongtang commented Aug 14, 2023

Component

Upload

Reproduction link

https://codepen.io/wzt8023/pen/xxQvRjq?editors=0010

Steps to reproduce

Upload.Card 可以正常使用itemRender方法,但是Upload无效

image

@YunMeng99 YunMeng99 added the 🐞 Bug Something isn't working label Aug 17, 2023
@eternalsky eternalsky assigned kyokaxin and unassigned bindoon Aug 29, 2023
@kyokaxin
Copy link
Contributor

kyokaxin commented Sep 6, 2023

itemRender参数目前只支持卡片渲染,后续会开发支持列表项渲染

@kyokaxin kyokaxin added improvement improve some features and removed 🐞 Bug Something isn't working labels Sep 6, 2023
@kyokaxin kyokaxin added Next release issues to close in next release and removed Next release issues to close in next release labels Sep 18, 2023
@YSMJ1994
Copy link
Contributor

@wangzhongtang 你好,Upload的设计就是展示文件列表,如果需要自定义文件名渲染方式,可以使用fileNameRender属性。Upload.Card的设计目的就是满足文件列表的完全自定义渲染的需求,所以不是itemRender在Upload上不支持,而是就是设计如此

@YSMJ1994 YSMJ1994 added 💬 Discussion ❓ Usage It's about how it works and removed improvement improve some features 💬 Discussion labels Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ Usage It's about how it works
Projects
None yet
Development

No branches or pull requests

5 participants