事件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

@ -34,19 +34,10 @@ export default function filterColumn(Table,Popover) {
componentWillReceiveProps(nextProps){ componentWillReceiveProps(nextProps){
this.setState({ this.setState({
showPopover:false showModal:false
}) })
} }
getShowModal=(event)=>{
let {showModal} = this.state;
if(showModal){
this.setState({
showModal:false
})
}
}
checkedColumItemClick = (da)=>{ checkedColumItemClick = (da)=>{
da.checked = da.checked?false:true; da.checked = da.checked?false:true;
da.disable = da.checked?true:false; da.disable = da.checked?true:false;
@ -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
}); });