Example/table: fixed misspelling (#2673)

This commit is contained in:
zeratulmdq 2017-02-06 04:23:44 +02:00 committed by cinwell.li
parent 7628fc0e41
commit abb24bba24

View File

@ -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