Tencent / Tencent/tdesign-miniprogram

[t-table] table的class属性在小程序版本上无效,cell也无效,要给单独的列增加class去处理样式,只能利用data-col-index去实现

Open
#4,642 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.