From 83de3f7c730ec8c2cc54541fadd2e9170496f2c0 Mon Sep 17 00:00:00 2001 From: wanghaoo Date: Tue, 16 Oct 2018 19:07:59 +0800 Subject: [PATCH] feat: --- build/lib/dragColumn.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",