mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
docs: fix tree demo (#35927)
This commit is contained in:
parent
ae6279a1f1
commit
6e04120265
@ -116,7 +116,7 @@ const App: React.FC = () => {
|
||||
{afterStr}
|
||||
</span>
|
||||
) : (
|
||||
<span>{item.title}</span>
|
||||
<span>{strTitle}</span>
|
||||
);
|
||||
if (item.children) {
|
||||
return { title, key: item.key, children: loop(item.children) };
|
||||
|
Loading…
Reference in New Issue
Block a user