diff --git a/src/forge/Component/Title.jsx b/src/forge/Component/Title.jsx index 9b3f8bf3..8ab6d7e4 100644 --- a/src/forge/Component/Title.jsx +++ b/src/forge/Component/Title.jsx @@ -5,7 +5,7 @@ const Nav = styled.div`{ background-color:#fff; padding:20px 30px; border-bottom:1px solid #eee; - font-size:16px; + font-size:18px; color:#333; display:flex; justify-content: space-between; diff --git a/src/forge/Main/CoderRootIndex.js b/src/forge/Main/CoderRootIndex.js index 7ff25dae..cd15d45e 100644 --- a/src/forge/Main/CoderRootIndex.js +++ b/src/forge/Main/CoderRootIndex.js @@ -29,14 +29,6 @@ const CoderRootVersion = Loadable({ loader: () => import('./version/Index'), loading: Loading, }) -// const CoderRootVersionNew = Loadable({ -// loader: () => import('./version/New'), -// loading: Loading, -// }) -// const CoderRootVersionUpdate = Loadable({ -// loader: () => import('./version/New'), -// loading: Loading, -// }) const Diff = Loadable({ loader: () => import('./Diff'), loading: Loading, @@ -50,37 +42,6 @@ class CoderRootIndex extends Component{ } } - // componentDidMount=()=>{ - // this.Init(); - // } - // componentDidUpdate=(prevProps)=>{ - // const { location } = this.props; - // const prevlocation = prevProps && prevProps.location; - // if (location !== prevlocation) { - // this.Init(); - // } - // } - - // Init=()=>{ - // const { branchName } = this.props.match.params; - // const { defaultBranch } = this.props; - // this.getTopCount(branchName || defaultBranch); - // } - - // 获取组件里要显示的数据 - // getTopCount=(branch)=>{ - // const { projectsId , owner } = this.props.match.params; - // const url = `/${owner}/${projectsId}/top_counts.json`; - // axios.get(url,{params:{ - // ref:branch - // }}).then(result=>{ - // if(result){ - // this.setState({ - // coderCount:result.data - // }) - // } - // }).catch(error=>{console.log(error);}) - // } render(){ return(
diff --git a/src/forge/Main/tree/Index.jsx b/src/forge/Main/tree/Index.jsx index d2dde089..d9255260 100644 --- a/src/forge/Main/tree/Index.jsx +++ b/src/forge/Main/tree/Index.jsx @@ -11,15 +11,6 @@ import Tree from '../img/tree.png'; import Axios from 'axios'; function turnbar(str){ - // const s = '!!@/::"“”<《》>||??%$¥'; - // for(var i=0;i -1){ - // return Base64.encode(str); - // }else{ - // continue; - // } - // } if(str && str.length>0 && str.indexOf("/")>-1){ return str.replaceAll('/','%2F'); } diff --git a/src/forge/SecuritySetting/notice/myNotice/Index.scss b/src/forge/SecuritySetting/notice/myNotice/Index.scss index c7e011a3..7422fb5a 100644 --- a/src/forge/SecuritySetting/notice/myNotice/Index.scss +++ b/src/forge/SecuritySetting/notice/myNotice/Index.scss @@ -42,21 +42,6 @@ .but25{height: 32px; } } - -// button { -// color: #333333; -// background: #FAFBFC; -// border: 1px solid #D0D0D0; -// border-radius: 4px; -// height: 32px; -// } -// button:hover { -// background: #F3F4F6; -// } -// button:active { -// background: #EBECF0; -// } - .deleteBut{ color: #DF0002; } diff --git a/src/forge/SecuritySetting/sub/SSH.jsx b/src/forge/SecuritySetting/sub/SSH.jsx index 2ca890ea..baac12ac 100644 --- a/src/forge/SecuritySetting/sub/SSH.jsx +++ b/src/forge/SecuritySetting/sub/SSH.jsx @@ -54,7 +54,7 @@ function SSH(props) {
setVisible(false)} onSuccess={onSuccess}/> setVisibleDesc(false)} desc={content}/> -
+
SSH密钥