From b46b2b84eba636688a06a41120b2b706b43d9b23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Wed, 10 Jul 2019 10:08:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../courses/graduation/tasks/GraduationTaskssettinglist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }