隐藏代码评审按钮

This commit is contained in:
caishi 2023-05-15 10:01:37 +08:00
parent 924a4f88d2
commit 0cbe47b2c0
2 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -507,7 +507,7 @@ class MessageCount extends Component {
</Button>
)}
{userLogin && projectDetail && permission && (
{/* {userLogin && projectDetail && permission && (
<Button
type="blue"
ghost
@ -517,7 +517,7 @@ class MessageCount extends Component {
代码评审
<div className='newBtnImg'></div>
</Button>
)}
)} */}
{operate && (
<Button