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  陌生人!  阅读(42)  评论(0编辑  收藏  举报