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 && - 注册 + 登录 } :