Tencent / Tencent/tdesign-miniprogram
[t-table] 单元格自定义不生效
Open
Nobody has claimed this yet.
🐞 bug
🧐 unconfirmed
- Dominant language
- Vue
- Stars
- 1.8k
- Forks
- 337
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 19
Description
选择框架
tdesign-miniprogram
NPM 包版本
1.14.0
基础库调试库版本(如果出现问题的框架为 tdesign-miniprogram,请提供基础调试库版本)
3.13.0
重现链接
No response
重现步骤
方式1:插槽,未生效,如何获取当前单元格数据进行动态渲染
方式2:function类型,只支持返回string类型,能否支持自定义
期望结果
支持单元格自定义,并提供示例代码
实际结果
不生效
补充说明
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the t-table cell customization APIs described in the issue, including the slot and function approaches, and reproduce both reported paths. Done means dynamic cell data can be accessed for custom rendering, custom cell output is supported beyond strings, and the usage example requested in the issue is available.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100