From e0dee2101fcfd637f92bc10e5e8fb6c022a729b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com>
Date: Wed, 19 Feb 2020 15:13:08 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E6=9D=83=E9=99=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/react/src/AppConfig.js | 6 +--
public/react/src/modules/tpm/NewHeader.js | 51 +++++++++++++++++------
2 files changed, 42 insertions(+), 15 deletions(-)
diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js
index b2a293483..1a4fb0c08 100644
--- a/public/react/src/AppConfig.js
+++ b/public/react/src/AppConfig.js
@@ -42,11 +42,11 @@ if (isDev) {
window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || 'admin'
}
// 超管
-debugType="admin";
+// debugType="admin";
// 老师
-//debugType="teacher";
+// debugType="teacher";
// 学生
-// debugType="student";
+debugType="student";
diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js
index 5ef112d84..6520f3b08 100644
--- a/public/react/src/modules/tpm/NewHeader.js
+++ b/public/react/src/modules/tpm/NewHeader.js
@@ -945,7 +945,29 @@ submittojoinclass=(value)=>{
试卷库