Commit 2332cba3888317934e649df7c90cf8c79dd38ded
1 parent
bf3cc529
fix:修复阶梯团roomid为undefined报错问题
Showing
1 changed file
with
1 additions
and
1 deletions
pages/goods/goodsInfo/goodsInfo.js
... | ... | @@ -4243,7 +4243,7 @@ Page({ |
4243 | 4243 | } |
4244 | 4244 | |
4245 | 4245 | //让商品带上房间号 |
4246 | - if (th.data.sys_switch.is_skuroom_id == 1) { | |
4246 | + if (!th.data.sys_switch.is_skuroom_id && th.data.sys_switch.is_skuroom_id == 1) { | |
4247 | 4247 | if (th.data.data.goods_id == getApp().globalData.room_goods_id) { |
4248 | 4248 | newd.room_id = getApp().globalData.room_id; |
4249 | 4249 | } | ... | ... |