let list = "[{"name":"长度","list":["50","100","60"],"key":1},{"name":"颜色","list":["红色","蓝色"],"key":2}]" 如何转为数组对象
JSON.parse(list) ?? 或者 eval。或者其他库
JSON.parse(list)
1.4m articles
1.4m replys
5 comments
57.0k users