Commit 87cdba2adf6d20ac25087b23a40b7ca52f0be8cf
1 parent
6f0fe2db
拼团优化使用券的,要判断对象是否存在
Showing
1 changed file
with
1 additions
and
1 deletions
packageE/pages/cart/cart2_pt/cart2_pt.js
... | ... | @@ -1851,7 +1851,7 @@ Page({ |
1851 | 1851 | return th.get_wuliu(th.calculatePrice2()); |
1852 | 1852 | } |
1853 | 1853 | |
1854 | - if (ty !=0 && th.data.using_quan[th.data.bn_pick].isby==1) { | |
1854 | + if (ty !=0 && th.data.using_quan[th.data.bn_pick] && th.data.using_quan[th.data.bn_pick].isby==1) { | |
1855 | 1855 | let using_quan={ |
1856 | 1856 | [th.data.bn_pick]:{ |
1857 | 1857 | is_nouse_red:1 | ... | ... |