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 }); }