From 0a4881e3522a6a0819d9fc0c2dd199cd72842729 Mon Sep 17 00:00:00 2001 From: wanghaoo Date: Wed, 19 Dec 2018 17:11:33 +0800 Subject: [PATCH] =?UTF-8?q?class=E6=A0=B7=E5=BC=8F=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Table.js | 2 +- src/TableHeader.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Table.js b/src/Table.js index 7665b31..b2ea142 100644 --- a/src/Table.js +++ b/src/Table.js @@ -628,7 +628,7 @@ class Table extends Component { width = width + contentWidthDiff; } if (!fixed && c.fixed) { - fixedClass = `${this.props.clsPrefix}-row-fixed-columns-in-body`; + fixedClass = ` ${this.props.clsPrefix}-row-fixed-columns-in-body`; } return ; })); diff --git a/src/TableHeader.js b/src/TableHeader.js index eec21a8..e99dc6f 100644 --- a/src/TableHeader.js +++ b/src/TableHeader.js @@ -549,7 +549,7 @@ class TableHeader extends Component { let canDotDrag = ""; //主表格下、固定列或者是过滤行中含有固定列时添加该属性 if (!fixed && (da.fixed || (filterable && index == rows.length - 1 && rows[0][columIndex].fixed)) ) { - fixedStyle = `${clsPrefix}-row-fixed-columns-in-body`; + fixedStyle = ` ${clsPrefix}-row-fixed-columns-in-body`; } if (lastShowIndex == columIndex) {