forked from Gitlink/forgeplus-react
隐藏代码评审按钮
This commit is contained in:
parent
924a4f88d2
commit
0cbe47b2c0
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue