this.newArr.push(...that.selectedMergePackListThree1)
 // 去重
const id = 'id'
const r = that.newArr.reduce((all, next) => all.some((atom) => atom[id] == next[id]) ? all : [...all, next], [])
that.newArr = r

 

posted on 2021-08-24 18:40  陌生人!  阅读(43)  评论(0编辑  收藏  举报