diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx index 5ff6f0ef..f51cfa6c 100644 --- a/src/forge/Main/CoderDepot.jsx +++ b/src/forge/Main/CoderDepot.jsx @@ -699,7 +699,7 @@ function CoderDepot(props){ /> } - {__CLIENT__ && } + {__CLIENT__ && projectDetail && !projectDetail.private && } {/* 贡献者 */} {mirror_status ===0 && } {/* 项目画像: 导入/fork项目不展示, open_portrait后台配置是否开启仓库 */} diff --git a/src/forge/api/project.js b/src/forge/api/project.js index bdc48e18..0f244a1a 100644 --- a/src/forge/api/project.js +++ b/src/forge/api/project.js @@ -5,6 +5,7 @@ export function getmaturityAnalyse(params) { return service({ url: `https://testbd.trustie.net/maturityAnalyse/`, method: 'get', - params: window.location.hostname === 'testforgeplus.trustie.net' ? { ...params, env_url: 'testforgeplus' } : params + params: window.location.hostname === 'testforgeplus.trustie.net' ? { ...params, env_url: 'testforgeplus' } : params, + withCredentials: false }); } \ No newline at end of file