diff --git a/src/AppConfig.js b/src/AppConfig.js index edc4f6f4f..c90600d99 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) { diff --git a/src/forge/Merge/MessageCount.js b/src/forge/Merge/MessageCount.js index cc23d6379..71b2bf353 100644 --- a/src/forge/Merge/MessageCount.js +++ b/src/forge/Merge/MessageCount.js @@ -507,7 +507,7 @@ class MessageCount extends Component { )} - {userLogin && projectDetail && permission && ( + {/* {userLogin && projectDetail && permission && ( - )} + )} */} {operate && (