事件bug

This commit is contained in:
jonyshi 2018-07-04 09:54:54 +08:00
parent f0248a6fd2
commit 43e153bf04
1 changed files with 3 additions and 13 deletions

View File

@ -33,19 +33,10 @@ export default function filterColumn(Table,Popover) {
} }
componentWillReceiveProps(nextProps){ componentWillReceiveProps(nextProps){
this.setState({
showPopover:false
})
}
getShowModal=(event)=>{
let {showModal} = this.state;
if(showModal){
this.setState({ this.setState({
showModal:false showModal:false
}) })
} }
}
checkedColumItemClick = (da)=>{ checkedColumItemClick = (da)=>{
da.checked = da.checked?false:true; da.checked = da.checked?false:true;
@ -55,8 +46,7 @@ export default function filterColumn(Table,Popover) {
}) })
} }
openCloumList = (ev)=>{ openCloumList = ()=>{
let oEvent=ev||event;
this.setState({ this.setState({
showModal:true showModal:true
}); });