From e5691c6c866c39caec4e84da88d8cb068d2bb295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=80=9D?= <2897217417@qq.com> Date: Thu, 31 Oct 2024 10:04:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96uos=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=97=A0=E6=95=B0=E6=8D=AE=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Information/Pages/homepage/component/introduction.jsx | 2 +- src/forge/Information/Pages/homepage/component/news.jsx | 4 ++-- src/forge/Information/Pages/homepage/component/partner.jsx | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/forge/Information/Pages/homepage/component/introduction.jsx b/src/forge/Information/Pages/homepage/component/introduction.jsx index 12a8a3ec8..ff6aacb97 100644 --- a/src/forge/Information/Pages/homepage/component/introduction.jsx +++ b/src/forge/Information/Pages/homepage/component/introduction.jsx @@ -32,7 +32,7 @@ function Introduction({data, statistics=true}) { {introductionImage && } {introductionContent && } - {statistics &&
+ {statistics &&
{Object.keys(label).map(item=>{ return
{data1[item]}
diff --git a/src/forge/Information/Pages/homepage/component/news.jsx b/src/forge/Information/Pages/homepage/component/news.jsx index 2fa28ee6b..ba1ccd7d6 100644 --- a/src/forge/Information/Pages/homepage/component/news.jsx +++ b/src/forge/Information/Pages/homepage/component/news.jsx @@ -164,9 +164,9 @@ function News({data, subTitle, firstDirIntro, secondDirIntro}) {
}
-
+ {dirs && !!dirs.length &&
{renderItems()} -
+
}
} diff --git a/src/forge/Information/Pages/homepage/component/partner.jsx b/src/forge/Information/Pages/homepage/component/partner.jsx index cb567561d..9ffd31cc1 100644 --- a/src/forge/Information/Pages/homepage/component/partner.jsx +++ b/src/forge/Information/Pages/homepage/component/partner.jsx @@ -1,6 +1,7 @@ import React , { useEffect, useState } from 'react'; import { getPartnerList } from '../../../api'; import '../index.scss'; +import Nodata from '../../../../Nodata'; function Partner({data}) { const {id, key, homepagePartnersTitle} = data || {}; @@ -46,6 +47,7 @@ function Partner({data}) {

{homepagePartnersTitle}

{gridItems}
+ {list && !list.length && }
}