Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
d983bc66
Commit
d983bc66
authored
Jul 02, 2019
by
Feng Hao
Committed by
hetech
Jul 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: fix typo in table documents (#15971)
parent
d3061942
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
examples/docs/zh-CN/table.md
examples/docs/zh-CN/table.md
+2
-2
No files found.
examples/docs/zh-CN/table.md
View file @
d983bc66
...
...
@@ -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 | 是否默认展开所有行,当 Ta
b
le 包含展开行存在或者为树形表格时有效 | 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 |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment