Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ArrayToTreeOption<T, ChildrenKey>

Type parameters

  • T

  • ChildrenKey: string = "children"

Hierarchy

  • ArrayToTreeOption

Index

Properties

Optional childrenKey

childrenKey: ChildrenKey

叶子节点挂载的key

default

children

Optional parentPrimaryKey

parentPrimaryKey: keyof T

关联主键ID

default

parentId

Optional primaryKey

primaryKey: keyof T

主键ID

default

id