diff --git a/src/forge/Information/Pages/homepage/component/specialProjects.jsx b/src/forge/Information/Pages/homepage/component/specialProjects.jsx index a60650669..790fbf850 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)} +
+ } ); diff --git a/src/forge/Information/Pages/source.jsx b/src/forge/Information/Pages/source.jsx index 39366af56..eafa81217 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(()=>{ diff --git a/src/forge/Information/Pages/sourceDetail.jsx b/src/forge/Information/Pages/sourceDetail.jsx index e9a181069..fcf77b0f4 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 &&