From 063c4a882d8ca0636143883af560932d052d9d27 Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期二, 05 八月 2025 10:08:24 +0800 Subject: [PATCH] 修改配置文件 --- pages/product/goods.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/product/goods.vue b/pages/product/goods.vue index ea7f328..3ef8357 100644 --- a/pages/product/goods.vue +++ b/pages/product/goods.vue @@ -501,7 +501,8 @@ if(options.q){ const queryParam = { id:'', - goodsId:'' + goodsId:'', + distributionId:'' }; const decodedUrl = decodeURIComponent(decodeURIComponent(options.q)); console.log('鍘熷URL:', decodedUrl); @@ -592,6 +593,8 @@ * 鍒濆鍖栦俊鎭� */ async init (id, goodsId, distributionId = "") { + console.log('鎵撳嵃id:' + id) + console.log('鎵撳嵃goodsId:'+ goodsId) this.isGroup = false; //鍒濆鍖栨嫾鍥� this.productId = id; // skuId // 杩欓噷璇锋眰鑾峰彇鍒伴〉闈㈡暟鎹� 瑙f瀽鏁版嵁 @@ -648,7 +651,7 @@ this.goodsSpec = response.data.result.specs; this.PromotionList = response.data.result.promotionMap; this.goodsParams = response.data.result.goodsParamsDTOList || []; - + console.log('浼樻儬鍗锋椿鍔�--------------------銆�',response.data.result.promotionMap) // 鍒ゆ柇鏄惁鎷煎洟娲诲姩鎴栬�呯Н鍒嗗晢鍝� 濡傛灉鏈夊垯鏄剧ず鎷煎洟娲诲姩淇℃伅 this.PromotionList && Object.keys(this.PromotionList).forEach((item) => { -- Gitblit v1.8.0