diff --git a/pages/goods_details/index.vue b/pages/goods_details/index.vue index 65d0ca2..20df12b 100644 --- a/pages/goods_details/index.vue +++ b/pages/goods_details/index.vue @@ -1483,9 +1483,15 @@ title: '购买个数不能为0!' }) } + + + // 获取商品ID + let productId = that.id; + if(that.send_province_info) productId = that.send_province_info.product_id; + let q = { is_new: news === undefined ? 0 : 1, - product_id: that.id, + product_id: productId, cart_num: that.attr.productSelect.cart_num, product_attr_unique: that.attr.productSelect !== undefined ? that.attr.productSelect.unique : "", source: this.source,