Commit 5a407f4740e8e0fb4434bea1d2997e490ca8f00a
1 parent
6898e916
组合购分享给好友加入购物车,没有反应的bug优化
Showing
1 changed file
with
2 additions
and
2 deletions
packageB/pages/zuhegou/index/index.js
... | ... | @@ -1017,12 +1017,12 @@ Page({ |
1017 | 1017 | if (th.data.c_guide_id) { |
1018 | 1018 | newd['guide_id'] = th.data.c_guide_id; |
1019 | 1019 | newd['guide_type'] = 2; |
1020 | - if ("add" == t.currentTarget.dataset.action) newd['guide_type'] = 3; | |
1020 | + newd['guide_type'] = 3; | |
1021 | 1021 | } else { |
1022 | 1022 | if (getApp().globalData.guide_id) { |
1023 | 1023 | newd['guide_id'] = getApp().globalData.guide_id; |
1024 | 1024 | newd['guide_type'] = 0; |
1025 | - if ("add" == t.currentTarget.dataset.action) newd['guide_type'] = 1; | |
1025 | + newd['guide_type'] = 1; | |
1026 | 1026 | } |
1027 | 1027 | } |
1028 | 1028 | ... | ... |