Merged
Merge Request #998 · created by 后端研发-苏明海


/如果会员是有默认的门店话


From dev into test

Merged by 后端研发-苏明海

1 participants

pages/goods/goodsInfo/goodsInfo.js
... ... @@ -2823,8 +2823,8 @@ Page({
2823 2823 }
2824 2824 clearInterval(timer_get);
2825 2825  
2826   - //如果会员是有默认的门店话
2827   - if (!th.data.def_pick_store && th.data.fir_def_store) {
  2826 + //如果会员是有默认的门店话
  2827 + if (!th.data.def_pick_store && th.data.fir_def_store && Object.keys(th.data.fir_def_store).length>0) {
2828 2828 th.setData({def_pick_store: th.data.fir_def_store});
2829 2829 }
2830 2830 wx.showLoading({
... ...