Version
4.2.3
Environment
vue3
Reproduction link
https://next.antdv.com/components/tree-cn#api
Steps to reproduce
使用a-tree的时候,配置了treeData,并且里面有children,但是页面上始终没有渲染子级,看了很久才发现是isLeaf的问题
What is expected?
期望将isLeaf的默认值改回false,或者将官网文档修改一下。因为很容易误导使用者,且这个问题不太好发现。
What is actually happening?
TreeNode 的isLeaf官网写着默认值为false,但实际默认值为true