Skip to content

@miyue-mma/shared / flatChildrenKeywords

函数: flatChildrenKeywords()

ts
function flatChildrenKeywords(node, props): string[]

获取一个树节点的所有子节点数组 ( 场景:将一个组织的 code 与该组织的子组织 code 合并到一个数组 )

参数

node

TreeNode

包含子节点的数据对象

props

FlatChildrenKeysProps = {}

默认关键字

返回

string[]

关键字数组

Released under the MIT License.