杨树明 5 years ago
commit 4eabbe5dd2

@ -144,14 +144,14 @@ class GraduationTaskssettinglist extends Component{
let {teacher_comment, task_status, course_group, cross_comment, order, b_order, search} = this.state; let {teacher_comment, task_status, course_group, cross_comment, order, b_order, search} = this.state;
this.setState({ this.setState({
teacher_comment:list.length===key?null:list, teacher_comment:list.length===key?undefined:list[0],
loadingstate:true loadingstate:true
}) })
if(list.length===key){ if(list.length===key){
}else{ }else{
this.seacthdata(list, task_status, course_group, cross_comment, order, b_order, search,this.state.page); this.seacthdata(list[0], task_status, course_group, cross_comment, order, b_order, search,this.state.page);
} }

Loading…
Cancel
Save