mirror of https://github.com/ElemeFE/element
Table: fix params order of row events (#12086)
parent
8cf15eda72
commit
c71ad7f471
|
@ -1987,9 +1987,9 @@ You can customize row index in `type=index` columns.
|
|||
| cell-mouse-leave | triggers when hovering out of a cell | row, column, cell, event |
|
||||
| cell-click | triggers when clicking a cell | row, column, cell, event |
|
||||
| cell-dblclick | triggers when double clicking a cell | row, column, cell, event |
|
||||
| row-click | triggers when clicking a row | row, event, column |
|
||||
| row-contextmenu | triggers when user right clicks on a row | row, event |
|
||||
| row-dblclick | triggers when double clicking a row | row, event |
|
||||
| row-click | triggers when clicking a row | row, column, event |
|
||||
| row-contextmenu | triggers when user right clicks on a row | row, column, event |
|
||||
| row-dblclick | triggers when double clicking a row | row, column, event |
|
||||
| header-click | triggers when clicking a column header | column, event |
|
||||
| header-contextmenu | triggers when user right clicks on a column header | column, event |
|
||||
| sort-change | triggers when Table's sorting changes | { column, prop, order } |
|
||||
|
|
|
@ -1990,9 +1990,9 @@ Puede personalizar el índice de la fila con la propiedad `type=index` de las co
|
|||
| cell-mouse-leave | se dispara cuando se desplaza fuera de una celda | row, column, cell, event |
|
||||
| cell-click | se dispara cuando se hace clic en una celda | row, column, cell, event |
|
||||
| cell-dblclick | se dispara cuando se hace doble clic en una celda | row, column, cell, event |
|
||||
| row-click | se dispara cuando se hace clic en una fila | row, event, column |
|
||||
| row-contextmenu | se dispara cuando el usuario hace clic derecho en una fila | row, event |
|
||||
| row-dblclick | se dispara cuando se hace doble clic en una fila | row, event |
|
||||
| row-click | se dispara cuando se hace clic en una fila | row, column, event |
|
||||
| row-contextmenu | se dispara cuando el usuario hace clic derecho en una fila | row, column, event |
|
||||
| row-dblclick | se dispara cuando se hace doble clic en una fila | row, column, event |
|
||||
| header-click | se dispara cuando se hace click en una cabecera de columna | column, event |
|
||||
| header-contextmenu | se dispara cuando el usuario hace clic derecho en una cabecera de columna | column, event |
|
||||
| sort-change | se dispara cuando el ordenamiento de la tabla cambia | { column, prop, order } |
|
||||
|
|
|
@ -2047,9 +2047,9 @@
|
|||
| cell-mouse-leave | 当单元格 hover 退出时会触发该事件 | row, column, cell, event |
|
||||
| cell-click | 当某个单元格被点击时会触发该事件 | row, column, cell, event |
|
||||
| cell-dblclick | 当某个单元格被双击击时会触发该事件 | row, column, cell, event |
|
||||
| row-click | 当某一行被点击时会触发该事件 | row, event, column |
|
||||
| row-contextmenu | 当某一行被鼠标右键点击时会触发该事件 | row, event |
|
||||
| row-dblclick | 当某一行被双击时会触发该事件 | row, event |
|
||||
| row-click | 当某一行被点击时会触发该事件 | row, column, event |
|
||||
| row-contextmenu | 当某一行被鼠标右键点击时会触发该事件 | row, column, event |
|
||||
| row-dblclick | 当某一行被双击时会触发该事件 | row, column, event |
|
||||
| header-click | 当某一列的表头被点击时会触发该事件 | column, event |
|
||||
| header-contextmenu | 当某一列的表头被鼠标右键点击时触发该事件 | column, event |
|
||||
| sort-change | 当表格的排序条件发生变化的时候会触发该事件 | { column, prop, order } |
|
||||
|
|
|
@ -381,7 +381,7 @@ export default {
|
|||
table.$emit(`cell-${name}`, row, column, cell, event);
|
||||
}
|
||||
}
|
||||
table.$emit(`row-${name}`, row, event, column);
|
||||
table.$emit(`row-${name}`, row, column, event);
|
||||
},
|
||||
|
||||
handleExpandClick(row, e) {
|
||||
|
|
Loading…
Reference in New Issue