diff --git a/src/pages/Competitions/Detail/components/WorkSubmit/index.tsx b/src/pages/Competitions/Detail/components/WorkSubmit/index.tsx index 9490ada6..a696bd6c 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)=>)} } )}