摘要: let arr =[{id:1,name"张三"},{id:2,name:"李四"},{id:3,name:"小明"}] arr.map(item => { return item.name; }).join(',').split(','); 输出:['张三','李四','小明'] 阅读全文
posted @ 2021-04-08 13:17 羊羊羊小童鞋 阅读(11150) 评论(0) 推荐(0) 编辑