add disable-highlight prop to Table
This commit is contained in:
parent
2474ee5929
commit
9563a8da20
3 changed files with 4 additions and 46 deletions
|
@ -153,7 +153,7 @@
|
|||
noFilteredDataText: {
|
||||
type: String
|
||||
},
|
||||
hoverHighlight: {
|
||||
disableHighlight: {
|
||||
type: Boolean
|
||||
}
|
||||
},
|
||||
|
@ -354,12 +354,12 @@
|
|||
});
|
||||
},
|
||||
handleMouseIn (_index) {
|
||||
if (!this.hoverHighlight) return;
|
||||
if (this.disableHighlight) return;
|
||||
if (this.objData[_index]._isHover) return;
|
||||
this.objData[_index]._isHover = true;
|
||||
},
|
||||
handleMouseOut (_index) {
|
||||
if (!this.hoverHighlight) return;
|
||||
if (this.disableHighlight) return;
|
||||
this.objData[_index]._isHover = false;
|
||||
},
|
||||
highlightCurrentRow (_index) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue