原数据:
{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搞一下,拜托!
8 回答4.8k 阅读✓ 已解决
6 回答3.5k 阅读✓ 已解决
5 回答2.9k 阅读✓ 已解决
5 回答6.4k 阅读✓ 已解决
4 回答2.3k 阅读✓ 已解决
4 回答2.8k 阅读✓ 已解决
3 回答2.5k 阅读✓ 已解决