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