Commit 06501a98 by zhaochengxiang

bug fix

parent 3ec8faa5
......@@ -875,7 +875,7 @@ const Catalog = ({ value, onChange, data, loading, placeholder }) => {
React.useEffect(() => {
if ((data?.children??[]).length>0) {
setExpandedKeys([data.children.path])
setExpandedKeys([data.children[0].path])
}
}, [data])
......
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