fix: fix column link

This commit is contained in:
Justineo 2021-12-27 20:01:42 +08:00
parent b22b1cf9e0
commit d54e75e946
No known key found for this signature in database
GPG Key ID: B73F0979CF18A0EA
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@
单元格合并配置。类型为 `function(index: number): { row: number, col: number }`。`index` 为当前行在所属 `Table` 组件的 [`data`](./table#props-data) 属性中的索引。返回值的 `row` / `col` 字段对应于单元格的 `rowspan` / `colspan`,默认值均为 `1` 单元格合并配置。类型为 `function(index: number): { row: number, col: number }`。`index` 为当前行在所属 `Table` 组件的 [`data`](./table#props-data) 属性中的索引。返回值的 `row` / `col` 字段对应于单元格的 `rowspan` / `colspan`,默认值均为 `1`
:::tip :::tip
可以参考 `Table` 组件中的[示例 高级](./table#高级)来了解如何使用。 可以参考 `Table` 组件中的[示例 选择模式与排序](./table#选择模式与排序)来了解如何使用。
::: :::
^^^ ^^^

View File

@ -40,7 +40,7 @@ Whether current column is sortable.
A function that defines how cells should span across rows/columns. The type is `function(index: number): { row: number, col: number }`, where `index` being the index of current row inside the [`data`](./table#props-data) prop of the parent `Table`. The `row` / `col` of the return value correspond to table cell's `rowspan` / `colspan` attribut, with a default value of `1`. A function that defines how cells should span across rows/columns. The type is `function(index: number): { row: number, col: number }`, where `index` being the index of current row inside the [`data`](./table#props-data) prop of the parent `Table`. The `row` / `col` of the return value correspond to table cell's `rowspan` / `colspan` attribut, with a default value of `1`.
:::tip :::tip
You can learn more abut how to use this in `Table` component's [Demos Advanced](./table#advanced). You can learn more abut how to use this in `Table` component's [Demos Selection and sorting](./table#selection-and-sorting).
::: :::
^^^ ^^^