Preparing search index...
The search index is not available
@devops-web/utils - v1.0.9
@devops-web/utils
findTreeNodes
Function findTreeNodes
find
Tree
Nodes
<
T
>
(
nodes
,
callback
,
childrenFieldName
?
)
:
T
[]
查找多个节点的函数
Type Parameters
T
extends
TreeNode
Parameters
nodes
:
T
[]
节点数组
callback
:
(
(
node
:
T
)
=>
boolean
)
回调函数,判断节点是否满足条件
(
node
)
:
boolean
Parameters
node
:
T
Returns
boolean
childrenFieldName
:
keyof
T
= 'children'
子节点数组字段名,默认为 'children'
Returns
T
[]
满足条件的节点数组
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@devops-web/utils - v1.0.9
Loading...
查找多个节点的函数