dev_aliyun_beta
杨树林 5 years ago
parent 32e74a683a
commit de810c237b

@ -34,7 +34,7 @@ class ExerciseBanksDetail extends Component{
id: Id,
is_public: result.data.exercise && result.data.exercise.is_public,
type:this.props.match.params.type,
authorize:response && response.data && response.data.authorize,
authorize:result && result.data && result.data.authorize,
}
this.props.initPublic(crumbData,menuData);
}

@ -45,7 +45,7 @@ class PollBanksContent extends Component{
id:bankId,
is_public:result.data.poll && result.data.poll.is_public,
type:this.props.match.params.type,
authorize:response && response.data && response.data.authorize,
authorize:result && result.data && result.data.authorize,
}
this.props.initPublic(crumbData,menuData);
this.setState({

Loading…
Cancel
Save