兼容没有key的书仅需

This commit is contained in:
jonyshi 2019-04-25 14:17:04 +08:00
parent 3bc7da8eb7
commit f9167e0610
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ class TableRow extends Component{
onMouseLeave={this.onMouseLeave} onMouseLeave={this.onMouseLeave}
className={`${clsPrefix} ${className} ${clsPrefix}-level-${indent}`} className={`${clsPrefix} ${className} ${clsPrefix}-level-${indent}`}
style={style} style={style}
data-row-key={record.key} data-row-key={record && record.key?record.key:"null"}
// key={hoverKey} // key={hoverKey}
ref={this.bindElement} ref={this.bindElement}
> >