Preparing search index...
The search index is not available
@supuwoerc/utils
@supuwoerc/utils
tree
tree2Array
Function tree2Array
tree2
Array
<
T
>
(
tree
,
childrenKey
?
)
:
T
[]
Description
将树状数据平铺
Type Parameters
T
=
TreeNode
Parameters
tree
:
Tree
<
T
>
[]
需要平铺的树状数据
childrenKey
:
keyof
T
= ...
树状数据的子节点的键名
Returns
T
[]
平铺后的数据
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@supuwoerc/utils
core
Storage
clear
All
Cookie
ensure
Prefix
ensure
Suffix
flow
Func
generateUUID
get
Array
Item
get
Cookie
get
Query
Param
get
Query
Params
move
Array
Item
remove
Array
Item
save
File
set
Cookie
swap
Array
Item
to
String
uniq
unique
By
core/types
Equal
Func
Storage
Options
css
add
Class
get
Element
Selector
has
Class
remove
Class
tree
array2
Tree
get
Parents
get
Target
From
Tree
tree2
Array
tree/types
Tree
Node
Equal
Func
Tree
vendor
debounce
throttle
verdict
is
Boolean
is
Date
is
Defined
is
Function
is
Http
Or
Https
is
Mobile
is
Null
is
Number
is
Object
is
Pc
is
Reg
Exp
is
String
is
Support
Font
Family
is
Undefined
Generated using
TypeDoc
Description
将树状数据平铺