How to dynamically create a multilevel object from a dot notation string

前端 未结 0 411
独厮守ぢ
独厮守ぢ 2021-01-14 10:51

I have some data that i need to format. The input is something like

const data = [
            [\'0\',\'some name\',\'ok\'],
            [\'0.1\',\'some name\         


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