调整作业设置体验

competitions
杨树明 5 years ago
parent a5a7fb108b
commit 699d33ed90

@ -167,7 +167,12 @@ class CommonWorkSetting extends Component{
}
on('commonwork_fetch_all', this.fetchAllListener)
}
if(this.props.isAdmin()===true){
this.setState({startEditFlag: true})
}
}
componentWillUnmount() {
off('commonwork_fetch_all', this.fetchAllListener)
}

Loading…
Cancel
Save