diff --git a/src/App.js b/src/App.js index 588892d7f..c55f22072 100644 --- a/src/App.js +++ b/src/App.js @@ -286,7 +286,6 @@ class App extends Component { }); }; render() { - console.log('props',this.props); const { pathType, pathName } = this.state; return ( diff --git a/src/forge/Main/Detail.js b/src/forge/Main/Detail.js index d23940cc6..7a4bff69c 100644 --- a/src/forge/Main/Detail.js +++ b/src/forge/Main/Detail.js @@ -180,6 +180,8 @@ function checkPathname(projectsId, owner, pathname) { name = "wiki" } else if (url.indexOf(`/server`) > -1) { name = "server" + } else if (url.indexOf(`/sonar`) > -1) { + name = "sonar" } } return name; @@ -541,7 +543,6 @@ class Detail extends Component { changeOpenDevops: this.changeOpenDevops, defaultBranch } - console.log('详情props',this.props); return (
@@ -777,11 +778,11 @@ class Detail extends Component { } > {/* 动态 */} - {/* () } - > */} + > () diff --git a/src/forge/Main/sub/DetailBanner.jsx b/src/forge/Main/sub/DetailBanner.jsx index 98a80323d..303aab364 100644 --- a/src/forge/Main/sub/DetailBanner.jsx +++ b/src/forge/Main/sub/DetailBanner.jsx @@ -4,6 +4,8 @@ import { Link } from 'react-router-dom'; import { numFormat } from 'educoder'; import QuitBox from './quit'; import axios from 'axios'; +import Quality from '../../Images/quality/quality.svg' + function DetailBanner({ history,list , owner , projectsId ,showNotification , url , pathname , state , urlFlag , projectDetail , platform ,open_devops ,current_user }){ const [ menuName , setMenuName ] = useState(undefined); @@ -32,7 +34,6 @@ function DetailBanner({ history,list , owner , projectsId ,showNotification , ur } }).catch(error=>{}) } -console.log('路径名称',pathname,owner,projectsId,state,history); return(
setVisible(false)} name={projectDetail && projectDetail.name} onSuccess={onSuccess}/> @@ -154,7 +155,8 @@ console.log('路径名称',pathname,owner,projectsId,state,history); item.menu_name === "sonar" &&
  • - + + {/* */} 质量分析