class样式增加空格

This commit is contained in:
wanghaoo 2018-12-19 17:11:33 +08:00
parent f67975f0a5
commit 0a4881e352
2 changed files with 2 additions and 2 deletions

View File

@ -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 <col key={c.key} style={{ width: width, minWidth: c.width }} className={fixedClass}/>;
}));

View File

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