Commit 349548d4898142f8e507dcc3a4ca8c9c33c041f7
1 parent
cec32452
change disable-highlight to disable-hover
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/components/table/table.vue
@@ -153,7 +153,7 @@ | @@ -153,7 +153,7 @@ | ||
153 | noFilteredDataText: { | 153 | noFilteredDataText: { |
154 | type: String | 154 | type: String |
155 | }, | 155 | }, |
156 | - disableHighlight: { | 156 | + disableHover: { |
157 | type: Boolean | 157 | type: Boolean |
158 | } | 158 | } |
159 | }, | 159 | }, |
@@ -354,12 +354,12 @@ | @@ -354,12 +354,12 @@ | ||
354 | }); | 354 | }); |
355 | }, | 355 | }, |
356 | handleMouseIn (_index) { | 356 | handleMouseIn (_index) { |
357 | - if (this.disableHighlight) return; | 357 | + if (this.disableHover) return; |
358 | if (this.objData[_index]._isHover) return; | 358 | if (this.objData[_index]._isHover) return; |
359 | this.objData[_index]._isHover = true; | 359 | this.objData[_index]._isHover = true; |
360 | }, | 360 | }, |
361 | handleMouseOut (_index) { | 361 | handleMouseOut (_index) { |
362 | - if (this.disableHighlight) return; | 362 | + if (this.disableHover) return; |
363 | this.objData[_index]._isHover = false; | 363 | this.objData[_index]._isHover = false; |
364 | }, | 364 | }, |
365 | highlightCurrentRow (_index) { | 365 | highlightCurrentRow (_index) { |