This commit is contained in:
AllenFang
2018-01-31 00:01:04 +08:00
parent ee4eb8f2c6
commit 8bfbc14bd9

View File

@@ -1,6 +1,6 @@
export default ExtendBase =>
class ColumnResolver extends ExtendBase {
visibleColumnSize() {
return this.props.columns.length;
return this.props.columns.filter(c => !c.hidden).length;
}
};