比如var aa = {num_3:[1],num_4:[1,2,3],num_5:[1,2,3,4],num_6:[1,2,3,4,5]}结果var bb = { 0: { id: 3, val: [1]}, 1: { id: 4, val: [1,2,3]}, 2: { id: 5, val: [1,2,3,4]}, 3: { id: 6, val: [1,2,3,4,5]}, }
添加回答
举报
0/150
提交
取消