From e4cc1ece4b38edb956086983a2472cb614fdaff1 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Thu, 3 Aug 2023 01:25:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BB=E6=8A=A4=E8=AF=A6=E6=83=85=20projectT?= =?UTF-8?q?ype=3D''=20=E4=B9=9F=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../quanju/containers/footer/conserve/right/right-top.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js b/web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js index c6be0020..540362c5 100644 --- a/web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js +++ b/web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js @@ -48,10 +48,11 @@ const RightTop = (props) => { useEffect(() => { dispatch(getRoadmaintain()).then((res) => { setRoadmaintainList(res.payload.data.reportList.filter((item, index) => { - return item.projectType == "road" - || item.projectType == "countyRoad" - || item.projectType == "villageRoad" - || item.projectType == "rusticRoad" + return item.projectType == "road" + || item.projectType == "countyRoad" + || item.projectType == "villageRoad" + || item.projectType == "rusticRoad" + || !item.projectType })) }) }, [])