Commit 6a0ffa3d by zhaochengxiang

主数据定义目录

parent 01ac3d1d
......@@ -112,7 +112,6 @@ const DefineTree = (props) => {
if ((expandedKeys||[]).length===0 && (data||[]).length>0) {
setExpandedKeys([data[0]._id]);
} else {
//新增目录操作后
setExpandedKeys(Array.from(new Set([...expandedKeys, ...selectedKeysRef.current])));
setAutoExpandParent(true);
}
......
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