|
|
|
@ -93,13 +93,24 @@ class Exercisesetting extends Component{
|
|
|
|
|
//加载
|
|
|
|
|
componentDidMount=()=>{
|
|
|
|
|
this.getSettingInfo();
|
|
|
|
|
|
|
|
|
|
// window.addEventListener('click', this.handleClick);
|
|
|
|
|
try {
|
|
|
|
|
this.props.triggerRef(this);
|
|
|
|
|
}catch (e) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(this.props.Commonheadofthetestpaper!=undefined){
|
|
|
|
|
this.editSetting()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
componentDidUpdate = (prevProps) => {
|
|
|
|
|
if(prevProps.Commonheadofthetestpaper!= this.props.Commonheadofthetestpaper){
|
|
|
|
|
this.editSetting()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
_getRequestParams() {
|
|
|
|
|
const { order, exercise_group_id,searchtext, page ,limit} = this.state
|
|
|
|
|
return {
|
|
|
|
|