From 34475010644deb5f614c31c9ede41b45fa520ec6 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 17:25:38 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=B8=93=E5=8C=BA=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E6=AF=8F=E9=A1=B521=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Information/Pages/source.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forge/Information/Pages/source.jsx b/src/forge/Information/Pages/source.jsx index 39366af5..eafa8121 100644 --- a/src/forge/Information/Pages/source.jsx +++ b/src/forge/Information/Pages/source.jsx @@ -22,7 +22,7 @@ function Source(props){ const [ total , setTotal ] = useState(0); const [ search , setSearch ] = useState(undefined); const [ isSpin , setIsSpin ] = useState(true); - const limit = 20; + const limit = 21; const { id , temp, history, role, sectionResourceTitle } = props; useEffect(()=>{ 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 2/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 3/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)} +
    + } );