let menuList = [
{name:'晓明',age:18},
{name:'黎明',age:20},
{name:'德华',age:28},
]
const list = this.list.map((item) => ({ ...item, title: `新属性1`, productName: '新属性2', income: '新属性3' }))
//
标签:map,name,age,list,item,添加,数组,属性 From: https://www.cnblogs.com/james-L/p/16720847.html