修复购买微信团购券不到帐问题
This commit is contained in:
@@ -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 = '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user