题库-试卷-未职业认证

dev_hss
caicai8 6 years ago
parent c730fbfe95
commit 4e8d125156

@ -62,6 +62,8 @@ class ExerciseDisplay extends Component{
response.data.exercise.exercise_status = response.data.exercise.exercise_status == undefined ? 1 : response.data.exercise.exercise_status response.data.exercise.exercise_status = response.data.exercise.exercise_status == undefined ? 1 : response.data.exercise.exercise_status
this.setState({...response.data}) this.setState({...response.data})
this.props.detailFetchCallback && this.props.detailFetchCallback(response); this.props.detailFetchCallback && this.props.detailFetchCallback(response);
} else {
this.props.detailFetchCallback && this.props.detailFetchCallback(response);
} }
}) })
.catch(function (error) { .catch(function (error) {

Loading…
Cancel
Save