将多个对象push进一个数组中去

  // const childrenList = item.pwuRegItemDtoList.find(val => val.indexChangeType === '1')
    // let aaa = [...childrenList]
   // console.log(aaa,"aaaaaaaaa");
let aaa = []
aaa.push(childrenList)

你可能感兴趣的:(js)