Bug Type: Component
Environment
- Vue Version:
3.2.45
- Element Plus Version:
2.2.28
- Browser / OS:
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
- Build Tool:
Vite
Reproduction
Related Component
el-tree
Reproduction Link
Element Plus Playground
Steps to reproduce
setCheckedNodes 缺少第二个参数的说明
What is Expected?
(nodes: Node[], leafOnly?: boolean)
,1.要选中的节点构成的数组 2. true
时只返回当前选择的子节点数组
What is actually happening?
要选中的节点构成的数组
Additional comments
(empty)
1条答案
按热度按时间bq9c1y661#