From c0b01a200cb439f4178a43d42a80d2030f451744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Thu, 15 Jun 2023 16:01:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=A0=E6=95=B0=E6=8D=AE=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Information/Pages/newsList.jsx | 3 ++- src/forge/Information/Pages/projectSource.jsx | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/forge/Information/Pages/newsList.jsx b/src/forge/Information/Pages/newsList.jsx index 7e1f59d05..bd25c8291 100644 --- a/src/forge/Information/Pages/newsList.jsx +++ b/src/forge/Information/Pages/newsList.jsx @@ -8,6 +8,7 @@ import shijian from '../img/shijian.png'; import liulan from '../img/liulan.png'; import DefaultImg from '../Component/defaultImg'; import emptydata from '../../Images/nodata.png'; +import nodata from '../img/nodata.png'; import { Link } from 'react-router-dom'; import { httpUrl } from '../fetch'; @@ -144,7 +145,7 @@ function NewsList(props){ { mainList && mainList.length === 0 &&
- +

暂无数据~

} diff --git a/src/forge/Information/Pages/projectSource.jsx b/src/forge/Information/Pages/projectSource.jsx index 83c3cc30b..71591cd77 100644 --- a/src/forge/Information/Pages/projectSource.jsx +++ b/src/forge/Information/Pages/projectSource.jsx @@ -6,6 +6,8 @@ import { Link } from 'react-router-dom'; import Nodata from '../../Nodata'; import axios from 'axios'; import { httpUrl } from '../fetch'; +import nodata from '../img/nodata.png'; + const { Search } = Input; function ProjectSource(props){ @@ -164,7 +166,7 @@ function ProjectSource(props){ :"" } { - lists && lists.length === 0 && + lists && lists.length === 0 && temp === 'zone1' ? : }