|
|
|
@ -527,7 +527,7 @@ class studentsList extends Component{
|
|
|
|
|
let id = this.props.match.params.coursesId
|
|
|
|
|
let url=`/courses/${id}/delete_from_course.json`;
|
|
|
|
|
axios.post((url), {
|
|
|
|
|
students: [{course_member_id: record.user_id}] // this.state.checkBoxValues.map(item => {return {course_member_id: item} }),
|
|
|
|
|
students: [{course_member_id: record.course_member_id}] // this.state.checkBoxValues.map(item => {return {course_member_id: item} }),
|
|
|
|
|
}).then((result)=>{
|
|
|
|
|
if (result.data.status == 0) {
|
|
|
|
|
this.props.showNotification('删除成功')
|
|
|
|
|