Commit 1ab74ece by zhaochengxiang

资产变更目录展开

parent 712cb9d3
...@@ -117,6 +117,8 @@ const AssetTree = (props) => { ...@@ -117,6 +117,8 @@ const AssetTree = (props) => {
}, },
callback: data => { callback: data => {
setCheckedKeys(data.dirIds||[]); setCheckedKeys(data.dirIds||[]);
setExpandedKeys(data.dirIds||[]);
setAutoExpandParent(true);
onCheck && onCheck(data.dirIds||[]); onCheck && onCheck(data.dirIds||[]);
}, },
}) })
......
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