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) {