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) } })