docs: table doc childrenColumnName property type (#27329)

Co-authored-by: zhaiyuanhang <zhaiyuanhang@xylink.com>
This commit is contained in:
realEago 2020-10-23 19:32:29 +08:00 committed by GitHub
parent 9a368a59f1
commit 1ceaa3a87f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ Properties for expandable.
| Property | Description | Type | Default |
| --- | --- | --- | --- |
| childrenColumnName | The column contains children to display | string\[] | children |
| childrenColumnName | The column contains children to display | string | children |
| defaultExpandAllRows | Expand all rows initially | boolean | false |
| defaultExpandedRowKeys | Initial expanded row keys | string\[] | - |
| expandedRowClassName | Expanded row's className | function(record, index, indent): string | - |

View File

@ -174,7 +174,7 @@ const columns = [
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| childrenColumnName | 指定树形结构的列名 | string\[] | children |
| childrenColumnName | 指定树形结构的列名 | string | children |
| defaultExpandAllRows | 初始时,是否展开所有行 | boolean | false |
| defaultExpandedRowKeys | 默认展开的行 | string\[] | - |
| expandedRowClassName | 展开行的 className | function(record, index, indent): string | - |