Commit bff605ba7cbaf918e3a191c6212b050e81361378

Authored by yvan.ni
1 parent 186af14a

购物车多个门店购买

Showing 1 changed file with 2 additions and 2 deletions
pages/cart/cart2/cart2.js
... ... @@ -102,7 +102,7 @@ Page({
102 102  
103 103 //----------子页返回父页触发----------
104 104 onShow: function() {
105   -
  105 + var th=this;
106 106 //先获取是否有关闭使用优惠券
107 107 getApp().getConfig2(function (ee) {
108 108 var json_d = JSON.parse(ee.switch_list);
... ... @@ -111,7 +111,7 @@ Page({
111 111 th.get_wuliu(th.get_info(th.show_page));
112 112 })
113 113  
114   - var th=this;
  114 +
115 115 console.log(th.data.isclose);
116 116 if (th.data.isclose==0){
117 117 /*---
... ...