Search
Preparing search index...
The search index is not available
@planjs/utils
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@planjs/utils
ArrayToTreeOption
Interface ArrayToTreeOption<T, ChildrenKey>
Type parameters
T
ChildrenKey
:
string
=
"children"
Hierarchy
ArrayToTreeOption
Index
Properties
children
Key
parent
Primary
Key
primary
Key
Properties
Optional
children
Key
children
Key
:
ChildrenKey
叶子节点挂载的key
default
children
Optional
parent
Primary
Key
parent
Primary
Key
:
keyof
T
关联主键ID
default
parentId
Optional
primary
Key
primary
Key
:
keyof
T
主键ID
default
id
Exports
Array
ToTree
Option
children
Key
parent
Primary
Key
primary
Key
叶子节点挂载的key
children