mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-03 12:48:45 +08:00
Example/table: fixed misspelling (#2673)
This commit is contained in:
parent
7628fc0e41
commit
abb24bba24
@ -973,7 +973,7 @@ When the data structure is complex, you can use group header to show the data hi
|
||||
|
||||
Single row selection is supported.
|
||||
|
||||
:::demo Table supports single row selection. You can activate it by adding the `highlight-currnet-row` attribute. An event called `current-change` will be triggered when row selection changes, and its parameters are the rows after and before this change: `currentRow` and `oldCurrentRow`. If you need to display row index, you can add a new `el-table-column` with its `type` attribute assigned to `index`, and you will see the index starting from 1.
|
||||
:::demo Table supports single row selection. You can activate it by adding the `highlight-current-row` attribute. An event called `current-change` will be triggered when row selection changes, and its parameters are the rows after and before this change: `currentRow` and `oldCurrentRow`. If you need to display row index, you can add a new `el-table-column` with its `type` attribute assigned to `index`, and you will see the index starting from 1.
|
||||
```html
|
||||
<template>
|
||||
<el-table
|
||||
|
Loading…
Reference in New Issue
Block a user