原数据:
{key1:[0,1,2,3,4,5],
key2:[0,1,2,3,4,5],
key3:[0,1,2,3,4,5]}
目标数据:
[{key1:0,key2:0,key3:0},
{key1:1,key2:1,key3:1},
{key1:2,key2:2,key3:2},
{key1:3,key2:3,key3:3},
{key1:4,key2:4,key3:4},
{key1:5,key2:5,key3:5}]
求大神使用JavaScript搞一下,拜托!
原数据:
{key1:[0,1,2,3,4,5],
key2:[0,1,2,3,4,5],
key3:[0,1,2,3,4,5]}
目标数据:
[{key1:0,key2:0,key3:0},
{key1:1,key2:1,key3:1},
{key1:2,key2:2,key3:2},
{key1:3,key2:3,key3:3},
{key1:4,key2:4,key3:4},
{key1:5,key2:5,key3:5}]
求大神使用JavaScript搞一下,拜托!
10 回答11.3k 阅读
5 回答4.9k 阅读✓ 已解决
4 回答3.2k 阅读✓ 已解决
2 回答2.8k 阅读✓ 已解决
3 回答2.4k 阅读✓ 已解决
3 回答2.2k 阅读✓ 已解决
2 回答2.7k 阅读✓ 已解决