Preparing search index...
The search index is not available
@devops-web/utils - v1.0.9
@devops-web/utils
convertToStandardTreeData
Function convertToStandardTreeData
convert
To
Standard
Tree
Data
<
T
,
P
>
(
treeData
,
config
?
)
:
TreeDataStandard
<
T
,
P
>
[]
将树形数据转换为标准的树形数据结构
Type Parameters
T
extends
Record
<
string
,
any
>
P
extends
Record
<
string
,
any
>
=
{}
Parameters
treeData
:
readonly
T
[]
原始树形数据
Optional
config
:
TreeDataStandardConfig
<
T
,
P
>
转换配置
Returns
TreeDataStandard
<
T
,
P
>
[]
标准的树形数据结构
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@devops-web/utils - v1.0.9
Loading...
将树形数据转换为标准的树形数据结构