From 355f891fb387b02b73555bd585859ee819297055 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Wed, 6 Nov 2019 14:20:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=8F=AD=20=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/courses/members/studentsList.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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',