修复DepartmentSelectTree逻辑错误

master
LiuJiaNan 2025-11-19 17:40:49 +08:00
parent caaac39648
commit 5d869631ec
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ function DepartmentSelectTree(props) {
const getData = async () => {
setTreeData([]);
if (searchType === "all") {
if (searchType === "current") {
// 根据参数决定是否发送请求
if (isNeedCorpInfoId && !params.eqCorpinfoId)
return;