From c2fb5c2243ad35f4a4d5158890e4189616206b24 Mon Sep 17 00:00:00 2001 From: unknown <18119604035@163.com> Date: Mon, 7 Aug 2023 10:17:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=84=E9=87=8D?= =?UTF-8?q?=E6=9E=84=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/compenents/select-resource/index.tsx | 1 - src/compenents/tree-department/index.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compenents/select-resource/index.tsx b/src/compenents/select-resource/index.tsx index 85d1e18..8410f84 100644 --- a/src/compenents/select-resource/index.tsx +++ b/src/compenents/select-resource/index.tsx @@ -69,7 +69,6 @@ export const SelectResource = (props: PropsInterface) => { maskClosable={false} onOk={() => { props.onSelected(selectKeys, selectVideos); - console.log(selectKeys, selectVideos); setSelectKeys([]); setSelectVideos([]); }} diff --git a/src/compenents/tree-department/index.tsx b/src/compenents/tree-department/index.tsx index 4c03389..f93de74 100644 --- a/src/compenents/tree-department/index.tsx +++ b/src/compenents/tree-department/index.tsx @@ -20,7 +20,7 @@ interface PropInterface { export const TreeDepartment = (props: PropInterface) => { const [treeData, setTreeData] = useState([]); const [loading, setLoading] = useState(true); - const [selectKey, setSelectKey] = useState([]); + const [selectKey, setSelectKey] = useState([]); const [userTotal, setUserTotal] = useState(0); useEffect(() => {