From d66004b33b1aa78c5171c12d7fd43af7d8ae64a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zhaobing=E2=80=99?= Date: Thu, 21 Sep 2023 14:15:13 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9Afix=20bugs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/sections/projectGroup/containers/bigscreen.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/client/src/sections/projectGroup/containers/bigscreen.jsx b/web/client/src/sections/projectGroup/containers/bigscreen.jsx index fbfd939..49dfd0e 100644 --- a/web/client/src/sections/projectGroup/containers/bigscreen.jsx +++ b/web/client/src/sections/projectGroup/containers/bigscreen.jsx @@ -139,7 +139,7 @@ const Bigscreen = (props) => { useEffect(() => { if(groupDetail?.pomsProjectIds&&groupDetail?.pomsProjectIds.length){ - const query=res.payload.data.pomsProjectIds.split(',') + const query=groupDetail?.pomsProjectIds.split(',') dispatch(actions.projectGroup.getProjectWorkOrders({projectIds:query}).then(res=>{ if(res.success){ setProportion([...res.payload.data?.slice(0, 3)?.map(v => ({ name: pomsProjectBasicAll.find(item=>item.valiue===v.projectId)?.label, value: v.count })),