修复DepartmentSelectTree逻辑错误
parent
caaac39648
commit
5d869631ec
|
|
@ -20,7 +20,7 @@ function DepartmentSelectTree(props) {
|
||||||
const getData = async () => {
|
const getData = async () => {
|
||||||
setTreeData([]);
|
setTreeData([]);
|
||||||
|
|
||||||
if (searchType === "all") {
|
if (searchType === "current") {
|
||||||
// 根据参数决定是否发送请求
|
// 根据参数决定是否发送请求
|
||||||
if (isNeedCorpInfoId && !params.eqCorpinfoId)
|
if (isNeedCorpInfoId && !params.eqCorpinfoId)
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue