From e01a122d7c66c707cda73439e1165ff835819ecb Mon Sep 17 00:00:00 2001 From: yvan.ni <765199919@qq.com> Date: Tue, 1 Oct 2019 20:42:49 +0800 Subject: [PATCH] 商品详情的分享BUG --- pages/goods/goodsInfo/goodsInfo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/goods/goodsInfo/goodsInfo.js b/pages/goods/goodsInfo/goodsInfo.js index df5ad73..cad449e 100644 --- a/pages/goods/goodsInfo/goodsInfo.js +++ b/pages/goods/goodsInfo/goodsInfo.js @@ -214,13 +214,13 @@ Page({ //如果tg_id是空的话,分享回来 if (gid == undefined || gid == null || gid == "") { - gid = decodeURIComponent(postdata.scene); + gid = decodeURIComponent(t.scene); } ee.setData({ gid: gid }); - +t getApp().getConfig2(function (e) { if (e.categoryset.indexOf("," + 1 + ",") != -1) { ee.setData({ is_show_pl: 1 }); } -- libgit2 0.21.4