From 2332cba3888317934e649df7c90cf8c79dd38ded Mon Sep 17 00:00:00 2001 From: banche Date: Sun, 27 Mar 2022 22:43:26 +0800 Subject: [PATCH] fix:修复阶梯团roomid为undefined报错问题 --- pages/goods/goodsInfo/goodsInfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/goods/goodsInfo/goodsInfo.js b/pages/goods/goodsInfo/goodsInfo.js index fa6a3d5..53d48e0 100644 --- a/pages/goods/goodsInfo/goodsInfo.js +++ b/pages/goods/goodsInfo/goodsInfo.js @@ -4243,7 +4243,7 @@ Page({ } //让商品带上房间号 - if (th.data.sys_switch.is_skuroom_id == 1) { + if (!th.data.sys_switch.is_skuroom_id && th.data.sys_switch.is_skuroom_id == 1) { if (th.data.data.goods_id == getApp().globalData.room_goods_id) { newd.room_id = getApp().globalData.room_id; } -- libgit2 0.21.4