Commit 833baab3c573a6581fdf23f228b3e79f2c9906bd

Authored by pengye
1 parent 720da7a4

扫码支付成功后,重新获取最新券列表

@@ -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.exitFun() 272 + that.getCoupon()
273 console.log('支付成功', ress); 273 console.log('支付成功', ress);
274 return that.myToast.showToast('支付成功', 2000) 274 return that.myToast.showToast('支付成功', 2000)
275 } 275 }
@@ -713,9 +713,6 @@ Page({ @@ -713,9 +713,6 @@ Page({
713 onReady() { 713 onReady() {
714 this.myToast = this.selectComponent("#myToast") 714 this.myToast = this.selectComponent("#myToast")
715 }, 715 },
716 - exitFun(){  
717 - wx.exitMiniProgram({success: (res) => {}})  
718 - },  
719 /** 716 /**
720 * 生命周期函数--监听页面显示 717 * 生命周期函数--监听页面显示
721 */ 718 */