let arr =[{id:1,name"张三"},{id:2,name:"李四"},{id:3,name:"小明"}] arr.map(item => { return item.name; }).join(',').split(','); 输出:['张三','李四','小明']