Commit 89406ee5ed074f8d579d95a152aec676c3e17408
1 parent
752a5e1c
专享礼包不需要门店,就不去调取门店的优化
Showing
1 changed file
with
3 additions
and
0 deletions
pages/giftpack/giftpacklist/giftpacklist.js
... | ... | @@ -333,6 +333,9 @@ Page({ |
333 | 333 | |
334 | 334 | |
335 | 335 | var sele_g=res.data.data; |
336 | + //需不需要门店,不需要门店返回 | |
337 | + if(!sele_g.is_pickup) return false; | |
338 | + | |
336 | 339 | com.wait_for_store_config(_this2); |
337 | 340 | com.set_user_mo_store(_this2,os,function () { |
338 | 341 | if(sele_g.pickup_list && _this2.data.def_pick_store){ | ... | ... |