//修改json数组key名称 data.map(item => { obj = item; obj['v3'] = item['station']; obj['v4'] = item['transferFlow']; delete obj['station']; delete obj['transferFlow']; newData.push(obj) })
data.map(item => { obj = item; obj['v3'] = item['station']; obj['v4'] = item['transferFlow']; delete obj['station']; delete obj['transferFlow']; newData.push(obj) })
//合并 let z= x.map((item, index) => { return {...item,y[index]} })