fix Table onExpand
This commit is contained in:
parent
493172c07d
commit
b05ee0c1c0
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue