Map array of objects to create nested ul depending on property

后端 未结 0 1127
闹比i
闹比i 2021-01-30 22:28

I would like to arrange this data on a ul structure, nesting according to their Rank

const staff = [
  {
    Rank: 1,
    ID: \'1\',
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题