From 16586b6ef6e63562f307f382ae17c99b9c70e0db Mon Sep 17 00:00:00 2001 From: izbz wh <731215820@qq.com> Date: Fri, 29 Mar 2019 16:21:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=BF=87=E6=BB=A4=E5=88=97=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=BC=98=E5=8C=96):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/Table.css | 3 ++- build/Table.js | 2 +- package.json | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/build/Table.css b/build/Table.css index 49e554a..b6589ad 100644 --- a/build/Table.css +++ b/build/Table.css @@ -278,7 +278,8 @@ .u-table-filter-column-pop-cont { margin: 0px; max-height: 300px; - overflow-y: scroll; } + overflow-y: scroll; + color: #212121; } .u-table-filter-column-clear-setting { margin-bottom: 4px; } .u-table-filter-column-cont { diff --git a/build/Table.js b/build/Table.js index c1c7f1a..5c27112 100644 --- a/build/Table.js +++ b/build/Table.js @@ -1125,7 +1125,7 @@ var Table = function (_Component) { columns = _props7.columns, heightConsistent = _props7.heightConsistent; - var headRows = this.refs.headTable ? this.refs.headTable.querySelectorAll('thead') : this.refs.headTable.querySelectorAll('thead'); + var headRows = this.refs.headTable ? this.refs.headTable.querySelectorAll('thead') : this.refs.bodyTable.querySelectorAll('thead'); var bodyRows = this.refs.bodyTable.querySelectorAll('.' + clsPrefix + '-row') || []; var leftBodyRows = this.refs.fixedColumnsBodyLeft && this.refs.fixedColumnsBodyLeft.querySelectorAll('.' + clsPrefix + '-row') || []; var rightBodyRows = this.refs.fixedColumnsBodyRight && this.refs.fixedColumnsBodyRight.querySelectorAll('.' + clsPrefix + '-row') || []; diff --git a/package.json b/package.json index 00b739d..f5abc46 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bee-table", - "version": "2.0.9", + "version": "2.0.10", "description": "Table ui component for react", "keywords": [ "react", @@ -90,4 +90,4 @@ "bee-pagination": "^2.0.5", "bee-popover": "^2.0.0" } -} +} \ No newline at end of file