Commit 67ebc4a5 by yuananting

fix:修改指派对象树默认收起

parent 1d5170d0
...@@ -84,7 +84,6 @@ function ChooseAssignorModal(props) { ...@@ -84,7 +84,6 @@ function ChooseAssignorModal(props) {
const structureData = handleStructureData(result.departmentVOList); const structureData = handleStructureData(result.departmentVOList);
const checkedKeys = checkedAssignorList.map((item) => item.checkedId); const checkedKeys = checkedAssignorList.map((item) => item.checkedId);
setStructureData(structureData); setStructureData(structureData);
setCheckedAssignorKeys(checkedKeys); setCheckedAssignorKeys(checkedKeys);
}); });
...@@ -416,7 +415,6 @@ function ChooseAssignorModal(props) { ...@@ -416,7 +415,6 @@ function ChooseAssignorModal(props) {
<Choose> <Choose>
<When condition={structureData.length > 0}> <When condition={structureData.length > 0}>
<DirectoryTree <DirectoryTree
defaultExpandAll
checkable checkable
checkStrictly checkStrictly
showIcon={false} showIcon={false}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment