From b85e0030952cf7c6de6cf825415df9543167fd59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BA=E7=8B=A8?= <18119604035@163.com> Date: Fri, 17 Mar 2023 13:57:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=BF=E4=B8=8A=E8=AF=BE=E6=96=B0=E5=BB=BA?= =?UTF-8?q?=E6=97=A0=E7=AB=A0=E8=8A=82=E8=AF=BE=E6=97=B6=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/course/compenents/hours.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pages/course/compenents/hours.tsx b/src/pages/course/compenents/hours.tsx index 057322f..c8e7c34 100644 --- a/src/pages/course/compenents/hours.tsx +++ b/src/pages/course/compenents/hours.tsx @@ -18,12 +18,10 @@ export const TreeHours = (props: PropInterface) => { const [loading, setLoading] = useState(true); useEffect(() => { const hours = props.data; - if (hours.length === 0) { return; } checkTree(hours); - console.log(hours); }, [props.data]); const checkTree = (hours: any) => {