onDrop props

This commit is contained in:
“jonyshi” 2018-12-04 08:57:34 +08:00
parent 8528ae4cf0
commit ccc5bbc89a
1 changed files with 2 additions and 2 deletions

View File

@ -93,8 +93,8 @@ export default function dragColumn(Table) {
this.setState({
columns:cloneDeep(columns)
});
if(this.props.dragDrop){
this.props.dragDrop(event,data,newColumns);
if(this.props.onDrop){
this.props.onDrop(event,data,newColumns);
}
}