This commit is contained in:
wanghaoo 2018-10-16 19:07:59 +08:00
parent 50520aaf6b
commit 83de3f7c73
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ function dragColumn(Table) {
});
var _columns = columns.sort((0, _util.compare)('dragIndex'));
_this.setState({
columns: JSON.parse(JSON.stringify(_columns))
columns: _columns.slice()
});
if (_this.props.onDrop) {
_this.props.onDrop(event, data);

View File

@ -1,6 +1,6 @@
{
"name": "bee-table",
"version": "1.4.17",
"version": "1.4.18",
"description": "Table ui component for react",
"keywords": [
"react",