From 0358cd85366e1542891bcc2145ccf392fd2a99c0 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Sat, 18 Sep 2021 10:46:01 +0800 Subject: [PATCH] 组合购, 点击默认选择门店 --- packageB/pages/zuhegou/index/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packageB/pages/zuhegou/index/index.js b/packageB/pages/zuhegou/index/index.js index c0a7545..0d7eac4 100644 --- a/packageB/pages/zuhegou/index/index.js +++ b/packageB/pages/zuhegou/index/index.js @@ -1139,7 +1139,7 @@ Page({ get_sto(e) { var th = this; this.waitfor2(15, 'is_get_local_ok', function () { - if (!th.data.sele_g) return false; + //if (!th.data.sele_g) return false; var dd = null; var g_distr_type =0; if(th.data.sele_g) g_distr_type=th.data.sele_g.distr_type; @@ -1652,6 +1652,9 @@ Page({ this.setData({ store: 1 }) + + + this.get_sto() }, // -- 加入之前,先判断有没有在购物车中,没有商品就添加 -- -- libgit2 0.21.4