map 组织新数组格式

var result = results.map(function (item) {
return {
orderId: item.id,
address: item.attributes.address
}
});

posted on 2017-04-25 16:02  fxxk院子  阅读(32)  评论(0)    收藏  举报

导航