diff --git a/pages/product/list/index.vue b/pages/product/list/index.vue index d7b1c36..a74632b 100644 --- a/pages/product/list/index.vue +++ b/pages/product/list/index.vue @@ -394,7 +394,18 @@ }).then((res)=>{ Toast(res.message); this.lableShow = false; - this.getList(this.mer_id, true); + this.productList.forEach(item=>{ + if(item.product_id==this.lableInfo.id){ + let arr = [] + this.lableInfo.mer_labels.forEach(t=>{ + arr.push({ + product_label_id: t + }) + }) + item.mer_labels = arr; + } + }) + // this.getList(this.mer_id, true); }).catch(e=>{ Toast(e) this.lableShow = false;