Commit 0bd7c473f22033ce004d6ee2e6491a3ba26a8b73
1 parent
de2d15df
预售的待支付的重新支付
Showing
2 changed files
with
2 additions
and
2 deletions
pages/user/order_detail/order_detail.js
@@ -607,7 +607,7 @@ Page({ | @@ -607,7 +607,7 @@ Page({ | ||
607 | } | 607 | } |
608 | }) | 608 | }) |
609 | 609 | ||
610 | - if(!presellList || !presellList.length){ | 610 | + if(!presellList){ |
611 | var content = good.goods_name + '未找到预售活动,请取消订单'; | 611 | var content = good.goods_name + '未找到预售活动,请取消订单'; |
612 | th.toast(content); | 612 | th.toast(content); |
613 | th.setData({ paying: 0 }); | 613 | th.setData({ paying: 0 }); |
pages/user/order_list/order_list.js
@@ -921,7 +921,7 @@ Page({ | @@ -921,7 +921,7 @@ Page({ | ||
921 | } | 921 | } |
922 | }) | 922 | }) |
923 | 923 | ||
924 | - if(!presellList || !presellList.length){ | 924 | + if(!presellList){ |
925 | var content = good.goods_name + '未找到预售活动,请取消订单'; | 925 | var content = good.goods_name + '未找到预售活动,请取消订单'; |
926 | th.toast(content); | 926 | th.toast(content); |
927 | th.setData({ paying: 0 }); | 927 | th.setData({ paying: 0 }); |