From 7bc795b50171271e55c181e26f857a36b8b00fd0 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Tue, 13 Jul 2021 09:34:48 +0800 Subject: [PATCH] appconfig --- src/AppConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AppConfig.js b/src/AppConfig.js index 23c59e73..f897831f 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 || '' + window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'admin' } window._debugType = debugType; export function initAxiosInterceptors(props) {