Interface ITreeOptions

interface ITreeOptions {
    children?: string;
    parentKey?: string;
    pidFlag?: boolean;
    pidKey?: string;
    pidValue?: null | string | number;
}

Properties

children?: string

子节点的键

Default

children
parentKey?: string

设置父节点的键

Default

parent
pidFlag?: boolean

是否需要设置父节点标志

Default

true
pidKey?: string

节点的ID的键

Default

id
pidValue?: null | string | number

设置认为是父节点的值

Default

null