diff --git a/public/react/src/modules/courses/members/studentsList.js b/public/react/src/modules/courses/members/studentsList.js index 983a5009d..91427534f 100644 --- a/public/react/src/modules/courses/members/studentsList.js +++ b/public/react/src/modules/courses/members/studentsList.js @@ -106,8 +106,9 @@ const buildColumns = (that,isParent) => { } } ]; + if (course_groups && course_groups.length) { - this.isStudentPage && columns.push({ + that.isStudentPage && columns.push({ title: '分班', dataIndex: 'course_group_name', key: 'course_group_name',