修复购买微信团购券不到帐问题

This commit is contained in:
2024-06-11 23:01:50 +08:00
parent 49b1968ba5
commit 63b30c0695
10 changed files with 65 additions and 33 deletions

View File

@@ -188,12 +188,12 @@ const confirmCoupon = (item: CouponBean) => {
};
const navigateTo = (e: any) => {
handlePayResult(orderBean.value?.id, e, {
onSuccess: () => {
onSuccess: (options:any) => {
console.log('pay success');
payment();
},
onFailure: () => {
console.error('pay onFailure');
onFailure: (e:any) => {
console.error('pay onFailure ',e);
if(orderBean.value?.id) {
orderBean.value.id = '';
}