diff --git a/components/SelectTree/Department/Gwj/index.js b/components/SelectTree/Department/Gwj/index.js index a3f556a..1444cd6 100644 --- a/components/SelectTree/Department/Gwj/index.js +++ b/components/SelectTree/Department/Gwj/index.js @@ -20,7 +20,7 @@ function DepartmentSelectTree(props) { const getData = async () => { setTreeData([]); - if (searchType === "all") { + if (searchType === "current") { // 根据参数决定是否发送请求 if (isNeedCorpInfoId && !params.eqCorpinfoId) return;