let t = data.map(item => { return{ fee: item['费用'], companyName1: item.companyName, remark1: item.remark, beginTime1: item.beginTime, endTime1: item.endTime } }) console.log(t)
源地址:https://www.cnblogs.com/Marydon20170307/p/8676611.html