From ee975cd4b344970e9d1b1b12db4b7d98a21a813f Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Tue, 3 Jan 2017 09:41:00 +0800 Subject: [PATCH] update Table event --- src/components/table/table.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/table/table.vue b/src/components/table/table.vue index a42395c..7404b95 100644 --- a/src/components/table/table.vue +++ b/src/components/table/table.vue @@ -299,11 +299,11 @@ }, clickCurrentRow (_index) { this.highlightCurrentRow (_index); - this.$emit('on-click', JSON.parse(JSON.stringify(this.data[_index]))); + this.$emit('on-row-click', JSON.parse(JSON.stringify(this.data[_index]))); }, dblclickCurrentRow (_index) { this.highlightCurrentRow (_index); - this.$emit('on-dblclick', JSON.parse(JSON.stringify(this.data[_index]))); + this.$emit('on-row-dblclick', JSON.parse(JSON.stringify(this.data[_index]))); }, getSelection () { let selectionIndexes = []; -- libgit2 0.21.4