Commit ee975cd4b344970e9d1b1b12db4b7d98a21a813f
1 parent
7ca3e3da
update Table event
update Table event
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/components/table/table.vue
... | ... | @@ -299,11 +299,11 @@ |
299 | 299 | }, |
300 | 300 | clickCurrentRow (_index) { |
301 | 301 | this.highlightCurrentRow (_index); |
302 | - this.$emit('on-click', JSON.parse(JSON.stringify(this.data[_index]))); | |
302 | + this.$emit('on-row-click', JSON.parse(JSON.stringify(this.data[_index]))); | |
303 | 303 | }, |
304 | 304 | dblclickCurrentRow (_index) { |
305 | 305 | this.highlightCurrentRow (_index); |
306 | - this.$emit('on-dblclick', JSON.parse(JSON.stringify(this.data[_index]))); | |
306 | + this.$emit('on-row-dblclick', JSON.parse(JSON.stringify(this.data[_index]))); | |
307 | 307 | }, |
308 | 308 | getSelection () { |
309 | 309 | let selectionIndexes = []; | ... | ... |