数组去重

this.selectedSupplielist.forEach(async item => {
          if (this.hasSelectSupplier.filter(ite => item.supplierSn == ite.supplierSn).length == 0) {
            this.hasSelectSupplier.push(item)
          }
        })

 

posted @ 2023-04-17 10:46  shuihanxiao  阅读(8)  评论(0编辑  收藏  举报