注册有礼
This commit is contained in:
@@ -85,6 +85,8 @@ const navigateTo = (e: any) => {
|
||||
pay({
|
||||
'orderId': orderBean.value?.id,
|
||||
'result': 'xxx'
|
||||
}).then(res => {
|
||||
uni.navigateBack();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
@@ -264,6 +264,7 @@ const payment = async () => {
|
||||
}]
|
||||
};
|
||||
await overPayment(paymentParams);
|
||||
await uni.navigateBack()
|
||||
uni.hideLoading();
|
||||
};
|
||||
</script>
|
||||
|
@@ -98,15 +98,14 @@ const buildSqbParams = computed(() => {
|
||||
const navigateTo = (e: any) => {
|
||||
handlePayResult(preRechargeOrderId.value, e, {
|
||||
onSuccess: async () => {
|
||||
console.log('---------->>> recharge success ');
|
||||
await goRecharge();
|
||||
await userState.setUserInfo({
|
||||
...userInfo.value,
|
||||
balance: Number(userInfo.value.balance) + Number(rechargeItems.value[currentIndex.value].rechargeamount) + Number(rechargeItems.value[currentIndex.value]?.rewardamount)
|
||||
});
|
||||
await uni.navigateBack()
|
||||
},
|
||||
onFailure: () => {
|
||||
console.log('---------->>> recharge failure ');
|
||||
}
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user