mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 13:08:41 +08:00
remove useless param in tree doc (#15591)
This commit is contained in:
parent
9e0aa5cb94
commit
d0a1196e63
@ -54,7 +54,7 @@ const generateList = (data) => {
|
|||||||
const key = node.key;
|
const key = node.key;
|
||||||
dataList.push({ key, title: key });
|
dataList.push({ key, title: key });
|
||||||
if (node.children) {
|
if (node.children) {
|
||||||
generateList(node.children, node.key);
|
generateList(node.children);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user