update Table
update Table
This commit is contained in:
parent
9f853e3ec8
commit
97edb2eb3b
3 changed files with 22 additions and 7 deletions
|
@ -45,13 +45,13 @@
|
|||
`${this.prefixCls}-row`,
|
||||
this.rowClsName(_index),
|
||||
{
|
||||
[`${this.prefixCls}-row-highlight`]: this.objData[_index]._isHighlight,
|
||||
[`${this.prefixCls}-row-hover`]: this.objData[_index]._isHover
|
||||
[`${this.prefixCls}-row-highlight`]: this.objData[_index] && this.objData[_index]._isHighlight,
|
||||
[`${this.prefixCls}-row-hover`]: this.objData[_index] && this.objData[_index]._isHover
|
||||
}
|
||||
]
|
||||
},
|
||||
rowChecked (_index) {
|
||||
return this.objData[_index]._isChecked;
|
||||
return this.objData[_index] && this.objData[_index]._isChecked;
|
||||
},
|
||||
setCellWidth (column, index) {
|
||||
return this.$parent.setCellWidth(column, index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue