Commit 723395cf89b6f8d62d427a269347933be1ab0cc6

Authored by 后端研发-苏明海
2 parents bfdd898a fd36ff74

Merge branch 'dev' into 'test'

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

See merge request !998
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({