forked from Gitlink/forgeplus-react
Merge pull request '上线后issue修改' (#768) from gitlink_management into pre_gitlink_ssr
This commit is contained in:
commit
b7e491c8cc
|
|
@ -111,6 +111,9 @@ function Index(props){
|
|||
const {current_user} = props;
|
||||
|
||||
useEffect(()=>{
|
||||
if(deptId && deptId === "KYDS7th"){
|
||||
window.location.href = 'https://gitlink.org.cn/competitions/2024';
|
||||
}
|
||||
if(deptId && deptId!=="apply"){
|
||||
getDetail();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ class Detail extends Component {
|
|||
defaultBranch: undefined,
|
||||
|
||||
// 非本平台项目
|
||||
platform: false,
|
||||
platform: true,
|
||||
mirror_status:0,
|
||||
bannerList: props.projectMenu || []
|
||||
}
|
||||
|
|
|
|||
|
|
@ -158,13 +158,13 @@ export default (({organizeDetail,history,match, current_user})=>{
|
|||
pagination={false}
|
||||
className="teamMemberTable"
|
||||
></Table>
|
||||
{
|
||||
{/* {
|
||||
total > limit ?
|
||||
<div className="edu-txt-center mt30 mb20">
|
||||
<Pagination simple current={page} total={total} pageSize={limit} onChange={ChangePage}></Pagination>
|
||||
</div>
|
||||
:""
|
||||
}
|
||||
} */}
|
||||
</div>
|
||||
<div className='edu-txt-right pl30 pr30 pb30'>
|
||||
<Button type='primary' ghost className='mr20' onClick={()=>{history.push(`/${OIdentifier}`)}}>暂不开通</Button>
|
||||
|
|
|
|||
Loading…
Reference in New Issue