Tencent / Tencent/tdesign-miniprogram
[t-table] table的class属性在小程序版本上无效,cell也无效,要给单独的列增加class去处理样式,只能利用data-col-index去实现
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.16
基础库调试库版本(如果出现问题的框架为 tdesign-miniprogram,请提供基础调试库版本)
No response
重现链接
No response
重现步骤
No response
期望结果
No response
实际结果
No response
补充说明
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 by locating the table and cell rendering entry points in tdesign-miniprogram and inspect how class attributes are applied in the mini-program version. Reproduce the issue with package version 1.16, then verify that table cells and individually targeted columns can receive styling without relying only on data-col-index.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100