diff --git a/components/tree/demo/search.md b/components/tree/demo/search.md index c0c18b6586..ab9d884323 100644 --- a/components/tree/demo/search.md +++ b/components/tree/demo/search.md @@ -54,7 +54,7 @@ const generateList = (data) => { const key = node.key; dataList.push({ key, title: key }); if (node.children) { - generateList(node.children, node.key); + generateList(node.children); } } };