From 8b530b1ce3604becf85dfb5728d457ffb0096861 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Mon, 17 Jul 2017 17:05:10 +0800 Subject: [PATCH] fixed #1342 --- examples/components/test.vue | 42 +++++++++++++++++++++++++++++++++--------- examples/routers/table.vue | 198 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------------- src/components/table/table-body.vue | 2 +- 3 files changed, 111 insertions(+), 131 deletions(-) diff --git a/examples/components/test.vue b/examples/components/test.vue index cbaf395..5d85d9c 100644 --- a/examples/components/test.vue +++ b/examples/components/test.vue @@ -1,16 +1,40 @@ \ No newline at end of file diff --git a/examples/routers/table.vue b/examples/routers/table.vue index 5e47145..13ef550 100644 --- a/examples/routers/table.vue +++ b/examples/routers/table.vue @@ -1,159 +1,115 @@ \ No newline at end of file + diff --git a/src/components/table/table-body.vue b/src/components/table/table-body.vue index efb8183..c035ab0 100644 --- a/src/components/table/table-body.vue +++ b/src/components/table/table-body.vue @@ -11,7 +11,7 @@ :prefix-cls="prefixCls" @mouseenter.native.stop="handleMouseIn(row._index)" @mouseleave.native.stop="handleMouseOut(row._index)" - @click.native.stop="clickCurrentRow(row._index)" + @click.native="clickCurrentRow(row._index)" @dblclick.native.stop="dblclickCurrentRow(row._index)">