From e0fc6418ea8daa3b8522e901b945ffd567dc611e Mon Sep 17 00:00:00 2001 From: Feng Hao Date: Tue, 2 Jul 2019 16:54:27 +0800 Subject: [PATCH] Docs: fix typo in table documents (#15971) --- examples/docs/zh-CN/table.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/docs/zh-CN/table.md b/examples/docs/zh-CN/table.md index 31b1baaa091..21eb413f4b8 100644 --- a/examples/docs/zh-CN/table.md +++ b/examples/docs/zh-CN/table.md @@ -1871,7 +1871,7 @@ | header-cell-style | 表头单元格的 style 的回调方法,也可以使用一个固定的 Object 为所有表头单元格设置一样的 Style。 | Function({row, column, rowIndex, columnIndex})/Object | — | — | | row-key | 行数据的 Key,用来优化 Table 的渲染;在使用 reserve-selection 功能与显示树形数据时,该属性是必填的。类型为 String 时,支持多层访问:`user.info.id`,但不支持 `user.info[0].id`,此种情况请使用 `Function`。 | Function(row)/String | — | — | | empty-text | 空数据时显示的文本内容,也可以通过 `slot="empty"` 设置 | String | — | 暂无数据 | -| default-expand-all | 是否默认展开所有行,当 Tale 包含展开行存在或者为树形表格时有效 | Boolean | — | false | +| default-expand-all | 是否默认展开所有行,当 Table 包含展开行存在或者为树形表格时有效 | Boolean | — | false | | expand-row-keys | 可以通过该属性设置 Table 目前的展开行,需要设置 row-key 属性才能使用,该属性为展开行的 keys 数组。| Array | — | | | default-sort | 默认的排序列的 prop 和顺序。它的`prop`属性指定默认的排序的列,`order`指定默认排序的顺序| Object | `order`: ascending, descending | 如果只指定了`prop`, 没有指定`order`, 则默认顺序是ascending | | tooltip-effect | tooltip `effect` 属性 | String | dark/light | | dark | @@ -1959,4 +1959,4 @@ | name | 说明 | |------|--------| | — | 自定义列的内容,参数为 { row, column, $index } | -| header | 自定义表头的内容. 参数为 { column, $index } | \ No newline at end of file +| header | 自定义表头的内容. 参数为 { column, $index } |