From bff605ba7cbaf918e3a191c6212b050e81361378 Mon Sep 17 00:00:00 2001 From: yvan.ni <765199919@qq.com> Date: Fri, 11 Oct 2019 15:27:21 +0800 Subject: [PATCH] 购物车多个门店购买 --- pages/cart/cart2/cart2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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){ /*--- -- libgit2 0.21.4