From 349548d4898142f8e507dcc3a4ca8c9c33c041f7 Mon Sep 17 00:00:00 2001 From: Lawrence Lee Date: Fri, 9 Jun 2017 16:59:30 +0800 Subject: [PATCH] change disable-highlight to disable-hover --- src/components/table/table.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/table/table.vue b/src/components/table/table.vue index 35205815..3f41bdab 100644 --- a/src/components/table/table.vue +++ b/src/components/table/table.vue @@ -153,7 +153,7 @@ noFilteredDataText: { type: String }, - disableHighlight: { + disableHover: { type: Boolean } }, @@ -354,12 +354,12 @@ }); }, handleMouseIn (_index) { - if (this.disableHighlight) return; + if (this.disableHover) return; if (this.objData[_index]._isHover) return; this.objData[_index]._isHover = true; }, handleMouseOut (_index) { - if (this.disableHighlight) return; + if (this.disableHover) return; this.objData[_index]._isHover = false; }, highlightCurrentRow (_index) {