收起
//a,b是原来的俩数组 let c=[] a.forEach((item,index) => { c.push({ name: item, value: b[index] }) })
如有帮助,麻烦点个[采纳此答案]谢谢^O^
报告相同问题?