From 7a5db58a033b3b16cfc71d1164b01459a557062b Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Thu, 15 Jul 2021 14:46:22 +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 92ed97dee..034612ece 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) {