Table: fix single selection mode highlight class

This commit is contained in:
qingwei.li 2016-08-25 15:03:57 +08:00
parent 7bdda0b994
commit 5954d9899f

View File

@ -44,7 +44,7 @@ export default {
on-click={ ($event) => this.handleClick($event, row) }
on-mouseenter={ _ => this.handleMouseEnter($index) }
class={{
'current-row': row === this.$parent.$parent.selected,
'current-row': row === this.$parent.selected,
'hover': this.$parent.$parent.hoverRowIndex === $index,
'positive-row': row.$positive,
'info-row': row.$info,