fix Table onExpand

This commit is contained in:
briefy 2017-04-04 18:52:24 +08:00
parent 493172c07d
commit b05ee0c1c0
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ class Table extends Component{
this.props.onExpandedRowsChange(expandedRowKeys);
}
onExpanded(expanded, record, e, index) {
onExpanded(expanded, record, index,e ) {
if (e) {
e.preventDefault();
e.stopPropagation();

View File

@ -83,7 +83,7 @@ class TableRow extends Component{
onExpand,
} = this.props;
if (expandable && expandRowByClick) {
onExpand(!expanded, record, index);
onExpand(!expanded, record, index,event);
}
onRowClick(record, index, event);
}