调整作业设置体验

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

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

Loading…
Cancel
Save