Commit ba45244a by 侯体倬

支付失败处理

parent 9f15b38f
......@@ -313,7 +313,16 @@ export default {
});
},
handleConfirm() {
wx.navigateBack();
// 如果是代付进入,直接退出小程序
if (this.options.isPayReplace == 1) {
wx.exitMiniProgram({
fail() {
wx.reLaunch({ url: "/pages/index/main" });
},
});
} else {
this.toPage();
}
},
},
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment