Commit da4ffa6806b3deb42dde41dffe6a58bd5a39d16e
1 parent
434132f2
不允许返回
Showing
1 changed file
with
4 additions
and
4 deletions
pages/cart/cart2_pt/cart2_pt.js
... | ... | @@ -613,7 +613,7 @@ Page({ |
613 | 613 | // }, 1); |
614 | 614 | util_pay.pay(data.data, function() { |
615 | 615 | setTimeout(function () { |
616 | - wx.redirectTo({ | |
616 | + wx.reLaunch({ | |
617 | 617 | //url: "/pages/payment/pay_success/pay_success?type=1&order_sn="+data.data, |
618 | 618 | url: "/pages/team/team_success/team_success?ordersn=" + data.data, |
619 | 619 | }) |
... | ... | @@ -622,7 +622,7 @@ Page({ |
622 | 622 | //支付失败 |
623 | 623 | setTimeout(function () { |
624 | 624 | //wx.navigateBack({ delta: 1 }) |
625 | - wx.redirectTo({ | |
625 | + wx.reLaunch({ | |
626 | 626 | url: "/pages/user/order_list/order_list", |
627 | 627 | }) |
628 | 628 | },1000) |
... | ... | @@ -650,12 +650,12 @@ Page({ |
650 | 650 | url: "/pages/user/order_list/order_list", |
651 | 651 | })--*/ |
652 | 652 | var url="/pages/payment/pay_success/pay_success?type=1&order_sn="+data.data; |
653 | - wx.redirectTo({ | |
653 | + wx.reLaunch({ | |
654 | 654 | url: url |
655 | 655 | }) |
656 | 656 | |
657 | 657 | }else{ |
658 | - wx.redirectTo({ | |
658 | + wx.reLaunch({ | |
659 | 659 | url: "/pages/team/team_success/team_success?ordersn=" + data.data, |
660 | 660 | }) |
661 | 661 | } | ... | ... |