From d6de9519c9e94f55a6a09b3114184bf060b982d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Fri, 8 Nov 2024 09:03:47 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=B5=84=E6=BA=90=E7=AE=80=E4=BB=8B?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Information/Pages/sourceDetail.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forge/Information/Pages/sourceDetail.jsx b/src/forge/Information/Pages/sourceDetail.jsx index e9a18106..fcf77b0f 100644 --- a/src/forge/Information/Pages/sourceDetail.jsx +++ b/src/forge/Information/Pages/sourceDetail.jsx @@ -71,7 +71,7 @@ function SourceDetail(props){ {detail.auditStatus === '0' && } {detail.auditStatus === '2' && } -
{detail.summary}
+
{ detail.fileList && detail.fileList.length > 0 &&
    From 12ca7e0dfbb55e0cc7f87155819111bb94761209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Fri, 8 Nov 2024 09:40:54 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=BD=93=E4=B8=93=E9=A1=B9=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=97=A0=E9=85=8D=E7=BD=AE=E5=BC=80=E6=BA=90=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE/=E4=B8=93=E5=88=A9/=E8=AE=BA=E6=96=87=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E7=9B=B4=E6=8E=A5=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Pages/homepage/component/specialProjects.jsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/forge/Information/Pages/homepage/component/specialProjects.jsx b/src/forge/Information/Pages/homepage/component/specialProjects.jsx index a6065066..790fbf85 100644 --- a/src/forge/Information/Pages/homepage/component/specialProjects.jsx +++ b/src/forge/Information/Pages/homepage/component/specialProjects.jsx @@ -152,12 +152,13 @@ function SpecialProjects({data, subTitle}) { { awards &&

    奖项:{awards}

    } { introductionImageIdentifier &&

    简介:

    } -
    - {list("论文", "论文标题", "作者", "单位", PAPER)} - {list("专利", "专利标题", "作者", "单位", PATENT)} - {list2("开源项目", "项目名称", "参与者", PROJECT)} - {!PAPER.length && !PATENT.length && !PROJECT.length && } -
    + { + PAPER.length + PATENT.length + PROJECT.length > 0 &&
    + {list("论文", "论文标题", "作者", "单位", PAPER)} + {list("专利", "专利标题", "作者", "单位", PATENT)} + {list2("开源项目", "项目名称", "参与者", PROJECT)} +
    + } ); From 69aa09027834f3e1bf80bf1d3a20f30ae1b54548 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Fri, 8 Nov 2024 11:47:47 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BC=98=E5=8C=96ProjectCompass=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=88=A4=E6=96=AD?= 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 f51cfa6c..a394fead 100644 --- a/src/forge/Main/CoderDepot.jsx +++ b/src/forge/Main/CoderDepot.jsx @@ -699,7 +699,7 @@ function CoderDepot(props){ /> } - {__CLIENT__ && projectDetail && !projectDetail.private && } + {__CLIENT__ && projectDetail && projectDetail.project_id && !projectDetail.private && } {/* 贡献者 */} {mirror_status ===0 && } {/* 项目画像: 导入/fork项目不展示, open_portrait后台配置是否开启仓库 */}