docs: Attribute description optimization (#51450)

Co-authored-by: afc163 <afc163@gmail.com>
This commit is contained in:
超级烦 2024-11-07 11:02:22 +08:00 committed by GitHub
parent 910a484b69
commit 2974f27c11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -257,8 +257,8 @@ const columns = [
| expandRowByClick | 通过点击行来展开子行 | boolean | false | |
| fixed | 控制展开图标是否固定,可选 `true` `'left'` `'right'` | boolean \| string | false | 4.16.0 |
| indentSize | 展示树形数据时,每层缩进的宽度,以 px 为单位 | number | 15 | |
| rowExpandable | 设置是否允许行展开 | (record) => boolean | - | |
| showExpandColumn | 设置是否展示行展开列 | boolean | true | 4.18.0 |
| rowExpandable | 设置是否允许行展开`dataSource` 若存在 `children` 字段将不生效) | (record) => boolean | - | |
| showExpandColumn | 是否显示展开图标列 | boolean | true | 4.18.0 |
| onExpand | 点击展开图标时触发 | function(expanded, record) | - | |
| onExpandedRowsChange | 展开的行变化时触发 | function(expandedRows) | - | |