var arr = [{
id: 1,
name: 'a'
}, {
name: 'b'
id: 2,
name: 'c'
name: 'd'
}];
实现结果:
arr = [{
name: ['a', 'b']
name: ['c', 'd']
请问 怎么实现?
相关分类