diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js index 5a02169e7..a28ae2fa1 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js @@ -144,14 +144,14 @@ class GraduationTaskssettinglist extends Component{ let {teacher_comment, task_status, course_group, cross_comment, order, b_order, search} = this.state; this.setState({ - teacher_comment:list.length===key?null:list, + teacher_comment:list.length===key?undefined:list[0], loadingstate:true }) if(list.length===key){ }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); }