事件影响 #128
This commit is contained in:
parent
ee966745bc
commit
d10da2494d
|
@ -32,6 +32,12 @@ export default function filterColumn(Table, Checkbox, Popover, Icon) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
componentWillReceiveProps(nextProps){
|
||||||
|
this.setState({
|
||||||
|
showPopover:false
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
getShowModal=(event)=>{
|
getShowModal=(event)=>{
|
||||||
let {showModal} = this.state;
|
let {showModal} = this.state;
|
||||||
if(showModal){
|
if(showModal){
|
||||||
|
@ -103,7 +109,7 @@ export default function filterColumn(Table, Checkbox, Popover, Icon) {
|
||||||
<Table {...this.props} columns={_columns} data={data} />
|
<Table {...this.props} columns={_columns} data={data} />
|
||||||
<Popover
|
<Popover
|
||||||
placement="leftTop"
|
placement="leftTop"
|
||||||
content={content} id="aa"
|
content={content}
|
||||||
show={showModal} >
|
show={showModal} >
|
||||||
<div className={`${prefixCls}-pop-column-filter`}><Icon type="uf-navmenu" onClick={this.openCloumList}/></div>
|
<div className={`${prefixCls}-pop-column-filter`}><Icon type="uf-navmenu" onClick={this.openCloumList}/></div>
|
||||||
</Popover>
|
</Popover>
|
||||||
|
|
Loading…
Reference in New Issue