From e38508ea5935a39675e43749bac02e08ae7f659c Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Tue, 11 May 2021 14:27:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E7=99=BB=E5=BD=95=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E5=86=99=E7=82=B9=E4=BB=80=E4=B9=88=E6=B2=A1=E6=9C=89=E5=8F=8D?= =?UTF-8?q?=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AppConfig.js | 2 +- src/forums/Component/ListSearch.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AppConfig.js b/src/AppConfig.js index 5103c6bc9..386583dbf 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/forums/Component/ListSearch.jsx b/src/forums/Component/ListSearch.jsx index ee13f2690..230265413 100644 --- a/src/forums/Component/ListSearch.jsx +++ b/src/forums/Component/ListSearch.jsx @@ -14,7 +14,7 @@ export default (({ onSearch , current_user })=>{ 写点什么 : - + 写点什么 }