将a数组 与b数组进行合并
a=[1,2,3]
b=[4,5,6]
c = a.concat(b);//c=[1,2,3,4,5,6]
this.listArr.forEach((el, i) => { el.is_dafault = (el.id === obj.id) ? 0 : 1; })
将a数组 与b数组进行合并
a=[1,2,3]
b=[4,5,6]
c = a.concat(b);//c=[1,2,3,4,5,6]
this.listArr.forEach((el, i) => { el.is_dafault = (el.id === obj.id) ? 0 : 1; })