Showing
1 changed file
with
4 additions
and
2 deletions
| @@ -269,7 +269,7 @@ Page({ | @@ -269,7 +269,7 @@ Page({ | ||
| 269 | discountPrice: '0.00', | 269 | discountPrice: '0.00', |
| 270 | actualPrice: '', | 270 | actualPrice: '', |
| 271 | }) | 271 | }) |
| 272 | - that.getCoupon() | 272 | + that.exitFun() |
| 273 | console.log('支付成功', ress); | 273 | console.log('支付成功', ress); |
| 274 | return that.myToast.showToast('支付成功', 2000) | 274 | return that.myToast.showToast('支付成功', 2000) |
| 275 | } | 275 | } |
| @@ -713,7 +713,9 @@ Page({ | @@ -713,7 +713,9 @@ Page({ | ||
| 713 | onReady() { | 713 | onReady() { |
| 714 | this.myToast = this.selectComponent("#myToast") | 714 | this.myToast = this.selectComponent("#myToast") |
| 715 | }, | 715 | }, |
| 716 | - | 716 | + exitFun(){ |
| 717 | + wx.exitMiniProgram({success: (res) => {}}) | ||
| 718 | + }, | ||
| 717 | /** | 719 | /** |
| 718 | * 生命周期函数--监听页面显示 | 720 | * 生命周期函数--监听页面显示 |
| 719 | */ | 721 | */ |
-
Please register or login to post a comment