JS对象数组变化? 55
把这种格式对象数组{"id":["445","446","447"],"item":["新设备","新材料","新工艺"],"value":["A","B","C"]}]...
把这种格式对象数组{"id":["445","446","447"],"item":["新设备","新材料","新工艺"],"value":["A","B","C"]}]
改变成
[{"id":"445","item":"新设备","value":"A"}]
[{"id":"446","item":"新材料","value":"B"}]
[{"id":"447","item":"新工艺","value":"C"}] 展开
改变成
[{"id":"445","item":"新设备","value":"A"}]
[{"id":"446","item":"新材料","value":"B"}]
[{"id":"447","item":"新工艺","value":"C"}] 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询