From 07b9197e159b7e6ebb393604cb884653bcfd4cb9 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Mon, 24 Jun 2019 09:35:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=92=E7=BB=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/courses/members/teacherList.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/courses/members/teacherList.js b/public/react/src/modules/courses/members/teacherList.js index 891225866..bb344de38 100644 --- a/public/react/src/modules/courses/members/teacherList.js +++ b/public/react/src/modules/courses/members/teacherList.js @@ -185,7 +185,7 @@ class studentsList extends Component{ searchValue:e.target.value }) } - + // approval 2 - 拒绝 onAgree = (record, approval = 1) => { const courseId = this.props.match.params.coursesId @@ -198,7 +198,7 @@ class studentsList extends Component{ }) .then((response) => { if (response.data.status == 0) { - this.props.showNotification(`已${approval ? '同意' : '拒绝'}`) + this.props.showNotification(`已${approval == 1? '同意' : '拒绝'}`) this.fetchAll(1) } })