diff --git a/pages/cart/cart2/cart2.js b/pages/cart/cart2/cart2.js index 59ed7ac..4053663 100644 --- a/pages/cart/cart2/cart2.js +++ b/pages/cart/cart2/cart2.js @@ -102,7 +102,7 @@ Page({ //----------子页返回父页触发---------- onShow: function() { - + var th=this; //先获取是否有关闭使用优惠券 getApp().getConfig2(function (ee) { var json_d = JSON.parse(ee.switch_list); @@ -111,7 +111,7 @@ Page({ th.get_wuliu(th.get_info(th.show_page)); }) - var th=this; + console.log(th.data.isclose); if (th.data.isclose==0){ /*---