diff --git a/packages/shop/shopCar/index.vue b/packages/shop/shopCar/index.vue index de7f9271..d121f411 100644 --- a/packages/shop/shopCar/index.vue +++ b/packages/shop/shopCar/index.vue @@ -228,7 +228,8 @@ export default { isDayshow: false, isParcelPostchecked: false, parcelPostshow: false, - is_group_buy: '' + is_group_buy: '', + is_adver: '' }; }, // watch: { @@ -309,7 +310,8 @@ export default { // 获取购物车列表 getShopCar() { const params = { - is_group_buy: this.is_group_buy + is_group_buy: this.is_group_buy, + is_adver: this.is_adver } request(apiArr.getCar, "POST", params).then((res) => { if (res.normal_cart_list.length > 0) { @@ -733,6 +735,7 @@ export default { this.top = meun.top; this.localHeight = meun.height; this.is_group_buy = options.item ? JSON.parse(options.item).is_group_buy : '' + this.is_adver = options.item ? JSON.parse(options.item).is_adver : '' this.getShopCar(); }, onShow() {