fix(过滤列去掉表格行宽度计算):

This commit is contained in:
wanghaoo 2018-10-11 15:56:06 +08:00
parent 9aad873c5a
commit 44427b9f96
2 changed files with 6 additions and 6 deletions

View File

@ -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(

View File

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