fix: 修复支付问题

This commit is contained in:
caiyuchao committed 2025-02-12 20:35:14 +08:00
1 parent de502c4806
commit d5f4f26ed0
2 files changed
+2

No files matched your search

@@ -134,6 +134,7 @@ const handlePaymentConfirm = async (paymentMethod: 'alipay' | 'wxpay') => {
div.innerHTML = res;
document.body.appendChild(div);
document.forms['punchout_form'].submit();
div.remove();
} else {
// 添加微信支付处理
const res = await wxPayScanCode({ orderId: currentOrderInfo.value.orderId });
+1
View File
@@ -230,6 +230,7 @@ const handlePaymentConfirm = async (paymentMethod: 'alipay' | 'wxpay') => {
div.innerHTML = res;
document.body.appendChild(div);
document.forms['punchout_form'].submit();
div.remove();
} else {
const res = await wxPayScanCode({ orderId: currentOrderInfo.value.orderId });
routerPushByKey('billing_wxpay', {