change disable-highlight to disable-hover

This commit is contained in:
Lawrence Lee 2017-06-09 16:59:30 +08:00
parent cec3245225
commit 349548d489

View file

@ -153,7 +153,7 @@
noFilteredDataText: { noFilteredDataText: {
type: String type: String
}, },
disableHighlight: { disableHover: {
type: Boolean type: Boolean
} }
}, },
@ -354,12 +354,12 @@
}); });
}, },
handleMouseIn (_index) { handleMouseIn (_index) {
if (this.disableHighlight) return; if (this.disableHover) return;
if (this.objData[_index]._isHover) return; if (this.objData[_index]._isHover) return;
this.objData[_index]._isHover = true; this.objData[_index]._isHover = true;
}, },
handleMouseOut (_index) { handleMouseOut (_index) {
if (this.disableHighlight) return; if (this.disableHover) return;
this.objData[_index]._isHover = false; this.objData[_index]._isHover = false;
}, },
highlightCurrentRow (_index) { highlightCurrentRow (_index) {