Commit 720da7a40577c409e103cab812b29503780f3419

Authored by pengye
1 parent 588b3b17

扫码支付成功后,关闭小程序

... ... @@ -269,7 +269,7 @@ Page({
discountPrice: '0.00',
actualPrice: '',
})
that.getCoupon()
that.exitFun()
console.log('支付成功', ress);
return that.myToast.showToast('支付成功', 2000)
}
... ... @@ -713,7 +713,9 @@ Page({
onReady() {
this.myToast = this.selectComponent("#myToast")
},
exitFun(){
wx.exitMiniProgram({success: (res) => {}})
},
/**
* 生命周期函数--监听页面显示
*/
... ...