From 44427b9f9640e1014ff304feecdac8989b8e5044 Mon Sep 17 00:00:00 2001 From: wanghaoo Date: Thu, 11 Oct 2018 15:56:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=BF=87=E6=BB=A4=E5=88=97=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=E8=A1=A8=E6=A0=BC=E8=A1=8C=E5=AE=BD=E5=BA=A6=E8=AE=A1?= =?UTF-8?q?=E7=AE=97):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/lib/filterColumn.js | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build/lib/filterColumn.js b/build/lib/filterColumn.js index 28b9f18..de09bd1 100644 --- a/build/lib/filterColumn.js +++ b/build/lib/filterColumn.js @@ -95,9 +95,9 @@ function filterColumn(Table, Popover) { } } }); - if (_columns.length == widthState) { - scroll.x = this.getCloumnsScroll(columns); - } + // if(_columns.length == widthState){ + // scroll.x = this.getCloumnsScroll(columns); + // } var content = _react2["default"].createElement( "div", @@ -117,8 +117,8 @@ function filterColumn(Table, Popover) { return _react2["default"].createElement( "div", { className: prefixCls + "-cont" }, - _react2["default"].createElement(Table, _extends({}, this.props, { columns: _columns, data: data, - scroll: scroll + _react2["default"].createElement(Table, _extends({}, this.props, { columns: _columns, data: data + // scroll={scroll} // scroll={{x:this.getCloumnsScroll(columns)}} })), _react2["default"].createElement( diff --git a/package.json b/package.json index 129d599..1c54f62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bee-table", - "version": "1.4.13", + "version": "1.4.14", "description": "Table ui component for react", "keywords": [ "react",