From cb7211645e3f1f41915010680b2682dcbd0bcd29 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Thu, 27 Jul 2023 17:44:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E4=BD=9C=E5=93=81=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=20=E9=A1=B5=E9=9D=A2=E7=A9=BA=E7=99=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Competitions/Detail/components/WorkSubmit/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Competitions/Detail/components/WorkSubmit/index.tsx b/src/pages/Competitions/Detail/components/WorkSubmit/index.tsx index 9490ada64..a696bd6c0 100644 --- a/src/pages/Competitions/Detail/components/WorkSubmit/index.tsx +++ b/src/pages/Competitions/Detail/components/WorkSubmit/index.tsx @@ -362,7 +362,7 @@ const WorkSubmit: FC = ({ : } - {item.children.length>0&&{setGameItem(item.children.find((item:any)=>item.id==activeKey))}}> + {item.children?.length>0&&{setGameItem(item.children.find((item:any)=>item.id==activeKey))}}> {item.children?.map((ChildItem:any)=>)} } )}