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 })=>{ 写点什么 : - + 写点什么 }