From e9e9bc37a4f59dc38409d2cd008c647f6eae71f8 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Wed, 31 May 2023 17:47:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E6=B3=A8=E5=86=8C=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AppConfig.js | 2 +- src/modules/tpm/NewHeader.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AppConfig.js b/src/AppConfig.js index 68ca0754..300af66f 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -27,7 +27,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 || '' } function clearAllCookie() { cookie.remove('_educoder_session', { path: '/' }); diff --git a/src/modules/tpm/NewHeader.js b/src/modules/tpm/NewHeader.js index e7eb9df4..c83d4e78 100644 --- a/src/modules/tpm/NewHeader.js +++ b/src/modules/tpm/NewHeader.js @@ -755,10 +755,10 @@ class NewHeader extends Component { : user.login === "" ? - this.educoderlogin()} className="mr5 color-white">登录 + {/* this.educoderlogin()} className="mr5 color-white">登录 */} { mygetHelmetapi2 && mygetHelmetapi2.new_course && mygetHelmetapi2.new_course.register_url && - 注册 + 登录 } :