feat:
This commit is contained in:
parent
50520aaf6b
commit
83de3f7c73
|
@ -109,7 +109,7 @@ function dragColumn(Table) {
|
||||||
});
|
});
|
||||||
var _columns = columns.sort((0, _util.compare)('dragIndex'));
|
var _columns = columns.sort((0, _util.compare)('dragIndex'));
|
||||||
_this.setState({
|
_this.setState({
|
||||||
columns: JSON.parse(JSON.stringify(_columns))
|
columns: _columns.slice()
|
||||||
});
|
});
|
||||||
if (_this.props.onDrop) {
|
if (_this.props.onDrop) {
|
||||||
_this.props.onDrop(event, data);
|
_this.props.onDrop(event, data);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bee-table",
|
"name": "bee-table",
|
||||||
"version": "1.4.17",
|
"version": "1.4.18",
|
||||||
"description": "Table ui component for react",
|
"description": "Table ui component for react",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"react",
|
"react",
|
||||||
|
|
Loading…
Reference in New Issue