How to realize the nested header of iview table

how to render the structure like the figure and assign amount; (the content and length of the array are not fixed at least one)

list: [

{
    name:"",
    child:[
        {
            id:1,
            name:"",
            child:[
                {
                    id:999,
                    name:"",
                    amount:1250
                },
                 {
                    id:1000,
                    name:"",
                    amount:500
                }
            ]
        }
    ]
},
{
    name:"",
    child:[
        {
            id:2,
            name:"",
            child:[
                {
                    id:1001,
                    name:"",
                    amount:1250
                }
            ]
        }
    ]
}

]

Apr.04,2022
Is

just a function of iview3.0?

Menu