拖拽后将columns返回

This commit is contained in:
wanghaoo 2018-10-19 11:09:33 +08:00
parent 02ef9f893e
commit dcaa8df065
4 changed files with 4 additions and 4 deletions

View File

@ -112,7 +112,7 @@ function dragColumn(Table) {
columns: _columns.slice()
});
if (_this.props.onDrop) {
_this.props.onDrop(event, data);
_this.props.onDrop(event, data, columns);
}
};

2
dist/demo.js vendored
View File

@ -60406,7 +60406,7 @@
columns: _columns.slice()
});
if (_this.props.onDrop) {
_this.props.onDrop(event, data);
_this.props.onDrop(event, data, columns);
}
};

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -84,7 +84,7 @@ export default function dragColumn(Table) {
columns:_columns.slice()
});
if(this.props.onDrop){
this.props.onDrop(event,data);
this.props.onDrop(event,data,columns);
}
}