list-to-tree icon indicating copy to clipboard operation
list-to-tree copied to clipboard

root node parent can be undefined

Open YuJianghao opened this issue 5 years ago • 0 comments

    var list = [
    {
        id: 1,
        // parent: 0 // this is not necessary any more
    }, {
        id: 2,
        parent: 1
    }]
    // ...

YuJianghao avatar May 24 '20 23:05 YuJianghao