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

[Table] 文档中有些API说明可能是笔误的,这边收集下 #2337

Closed
NeilWong84 opened this issue Feb 5, 2023 · 3 comments
Closed
Assignees
Labels
📒 Documentation Improvements or additions to documentation to be published to be published

Comments

@NeilWong84
Copy link

tdesign-vue-next 版本

rowClassName API 文档说明

重现链接

No response

重现步骤

行类名,泛型 T 指表格数据类型。
params.row 表示行数据;params.rowIndex 表示行下标;
params.type=body 表示类名作用于 tbody 中的元素;
params.type=body 表示类名作用于 tfoot 中的元素。
......

期望结果

params.type=body 表示类名作用于 tfoot 中的元素。 (这个应该改为:params.type=foot)

参数说明:params.row 表示行数据;params.rowIndex 表示行下标;params.type=body 表示属性作用于 tbody 中的元素;params.type=foot 表示属性作用于 tfoot 中的元素

(params: RowClassNameParams) => ClassName

主要是源码注释也写错了:

/**

  • 行类名,泛型 T 指表格数据类型。params.row 表示行数据;params.rowIndex 表示行下标;params.type=body 表示类名作用于 tbody 中的元素;params.type=body 表示类名作用于 tfoot 中的元素
    */

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2023

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

@uyarn uyarn added the 📒 Documentation Improvements or additions to documentation label Feb 7, 2023
@uyarn uyarn changed the title 组件文档中有些API说明可能是笔误的,这边收集下 [Table] 文档中有些API说明可能是笔误的,这边收集下 Feb 13, 2023
@github-actions
Copy link
Contributor

♥️ 有劳 @realyuyanan @Louiszhai @PengYYYYY @chaishi 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @NeilWong84

@chaishi
Copy link
Collaborator

chaishi commented Feb 13, 2023

源代码注释和文档的数据来源是一份

这个之前看到了,一直忘了改,我改下

resolved in #2515

@PengYYYYY PengYYYYY added the to be published to be published label Mar 13, 2023
@github-actions github-actions bot mentioned this issue Mar 15, 2023
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📒 Documentation Improvements or additions to documentation to be published to be published
Projects
None yet
Development

No branches or pull requests

4 participants