diff --git a/build/lib/dragColumn.js b/build/lib/dragColumn.js index 43af93f..1f9fdd9 100644 --- a/build/lib/dragColumn.js +++ b/build/lib/dragColumn.js @@ -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); diff --git a/package.json b/package.json index 373137b..f1ae661 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bee-table", - "version": "1.4.17", + "version": "1.4.18", "description": "Table ui component for react", "keywords": [ "react",