过滤列去掉scroll参数

This commit is contained in:
wanghaoo 2018-10-11 15:53:38 +08:00
parent 24ae6dae46
commit 83484174fd
3 changed files with 11 additions and 11 deletions

12
dist/demo.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -130,9 +130,9 @@ export default function filterColumn(Table,Popover) {
}
}
});
if(_columns.length == widthState){
scroll.x = this.getCloumnsScroll(columns);
}
// if(_columns.length == widthState){
// scroll.x = this.getCloumnsScroll(columns);
// }
let content = (
<div className={`${prefixCls}-pop-cont`}>
@ -146,7 +146,7 @@ export default function filterColumn(Table,Popover) {
return <div className={`${prefixCls}-cont`}>
<Table {...this.props} columns={_columns} data={data}
scroll={scroll}
// scroll={scroll}
// scroll={{x:this.getCloumnsScroll(columns)}}
/>
<div className={`${prefixCls}-filter-icon`}>