From 340c4ec12a8c165dcf0831bdbfe844441b14a9e2 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Wed, 17 Jul 2019 17:25:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=99=E5=B8=88=E5=88=97=E8=A1=A8=E7=9A=84?= =?UTF-8?q?=E5=BE=85=E5=AE=A1=E6=89=B9=E5=88=97=E8=A1=A8=E4=B8=8D=E5=BA=94?= =?UTF-8?q?=E8=AF=A5=E6=98=BE=E7=A4=BA=E2=80=9C=E7=AE=A1=E7=90=86=E6=9D=83?= =?UTF-8?q?=E9=99=90=E2=80=9D=E6=93=8D=E4=BD=9C=E5=88=97?= 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 d2c495ddd..7e0b659e4 100644 --- a/public/react/src/modules/courses/members/teacherList.js +++ b/public/react/src/modules/courses/members/teacherList.js @@ -78,7 +78,7 @@ function buildColumns(that) { sortOrder: sortedInfo.columnKey === 'role' && sortedInfo.order, }] - that.state.course_groups && that.state.course_groups.length && columns.push({ + that.state.course_groups && that.state.course_groups.length && showSorter && columns.push({ title: 管理权限, width: 260, key: 'course_groups', @@ -111,7 +111,7 @@ function buildColumns(that) { , }); const hasGraduationModule = that.hasGraduationModule() - if (hasGraduationModule) { + if (hasGraduationModule && showSorter) { columns.push({ title: '答辩组', // width: 90,