From 80012f593079e3cb65cab9796f2c2fa33729d7d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Thu, 7 Nov 2024 16:31:00 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=A7=81=E6=9C=89=E4=B8=8D=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E5=BC=80=E6=BA=90=E5=81=A5=E5=BA=B7=E6=88=90=E7=86=9F?= =?UTF-8?q?=E5=BA=A6=E8=AF=84=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Main/CoderDepot.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx index 5ff6f0ef2..f51cfa6c5 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后台配置是否开启仓库 */} From 084c4546468804521cb46931062abdada26351d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Thu, 7 Nov 2024 16:54:34 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=BC=80=E6=BA=90=E5=81=A5=E5=BA=B7?= =?UTF-8?q?=E6=88=90=E7=86=9F=E5=BA=A6=E8=AF=84=E5=88=86=20=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/api/project.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/forge/api/project.js b/src/forge/api/project.js index bdc48e180..0f244a1ad 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