From 0889ee69c59e09e0c447e1582be8192855cef2e9 Mon Sep 17 00:00:00 2001
From: caishi <1149225589@qq.com>
Date: Tue, 13 Jul 2021 10:42:56 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E7=99=BB=E5=BD=95=E6=97=B6=EF=BC=9A?=
=?UTF-8?q?=E8=B7=AF=E7=94=B1/=E4=B8=8D=E6=98=BE=E7=A4=BA=E9=A1=B6?=
=?UTF-8?q?=E9=83=A8=E5=92=8C=E5=BA=95=E9=83=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.js | 2 +-
src/AppConfig.js | 2 +-
src/forge/Index.js | 6 ++++++
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/App.js b/src/App.js
index a73c04d4..fd228f39 100644
--- a/src/App.js
+++ b/src/App.js
@@ -79,7 +79,7 @@ const Search = Loadable({
})
const ProjectIndex = Loadable({
- loader: () => import("./forge/Main/Index"),
+ loader: () => import("./forge/Index"),
loading: Loading,
});
class App extends Component {
diff --git a/src/AppConfig.js b/src/AppConfig.js
index 034612ec..92ed97de 100644
--- a/src/AppConfig.js
+++ b/src/AppConfig.js
@@ -25,7 +25,7 @@ if (isDev) {
}
debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' :
window.location.search.indexOf('debug=s') !== -1 ? 'student' :
- window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'admin'
+ window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || ''
}
window._debugType = debugType;
export function initAxiosInterceptors(props) {
diff --git a/src/forge/Index.js b/src/forge/Index.js
index af4d4443..3870c088 100644
--- a/src/forge/Index.js
+++ b/src/forge/Index.js
@@ -69,6 +69,12 @@ class Index extends Component {
)}
>
+ (
+
+ )}
+ >
);