Commit fd54712cf1b989997fe1c8976b119dcb26a05ddf
1 parent
d3edbe27
预售的处理~~
Showing
1 changed file
with
1 additions
and
1 deletions
packageC/pages/presell/cart/cart.js
... | ... | @@ -656,7 +656,7 @@ Page({ |
656 | 656 | }) |
657 | 657 | }else{ |
658 | 658 | th.setData({quan_price:0}); |
659 | - if(th.data.using_quan[bn_pick].isby==1){ | |
659 | + if(th.data.using_quan && th.data.using_quan[bn_pick] && th.data.using_quan[bn_pick].isby==1){ | |
660 | 660 | var txt="using_quan["+bn_pick+"]"; |
661 | 661 | th.setData({[txt]:{}}); |
662 | 662 | } | ... | ... |