Commit fd36ff741a2711516885000a6293de249d769af2

Authored by WXD-SEASON\season
1 parent 0871312d

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

pages/goods/goodsInfo/goodsInfo.js
@@ -2823,8 +2823,8 @@ Page({ @@ -2823,8 +2823,8 @@ Page({
2823 } 2823 }
2824 clearInterval(timer_get); 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 th.setData({def_pick_store: th.data.fir_def_store}); 2828 th.setData({def_pick_store: th.data.fir_def_store});
2829 } 2829 }
2830 wx.showLoading({ 2830 wx.showLoading({