From 8826b49521e23a14d768d3fb059b29df150ef4f5 Mon Sep 17 00:00:00 2001 From: fanfan Date: Tue, 18 Jun 2024 14:02:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/detail.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue index 3a6799d..57041c1 100644 --- a/pages/goods/detail.vue +++ b/pages/goods/detail.vue @@ -482,6 +482,7 @@ import setPrice from './components/setPrice' import * as address from '@/api/address.js' import * as CartApi from '@/api/cart' + import store from '@/store' export default { components: { SkuPopup, @@ -1171,10 +1172,12 @@ // 获取推荐商品列表 const that = this; // 构建页面参数 - const params = that.$getShareUrlParams(this.options) + // const params = that.$getShareUrlParams(that.options) const res = await GoodsApi.goodsShortUrl({ - page_url: `pages/goods/detail?${params}`, - page_title: that.goods.goods_name + page_url: 'pages/goods/detail?refereeId='+store.getters.userId+'&goodsId='+this.goods.goods_id, + page_title: that.goods.goods_name, + // goodsId:that.goods.goods_id, + // refereeId:store.getters.userId }) if (res.data.url) { let str =