2
0

Merge remote-tracking branch 'origin/main'

This commit is contained in:
zhongzm
2025-02-13 15:34:33 +08:00
2 changed files with 2 additions and 0 deletions

View File

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

View File

@@ -230,6 +230,7 @@ const handlePaymentConfirm = async (paymentMethod: 'alipay' | 'wxpay') => {
div.innerHTML = res; div.innerHTML = res;
document.body.appendChild(div); document.body.appendChild(div);
document.forms['punchout_form'].submit(); document.forms['punchout_form'].submit();
div.remove();
} else { } else {
const res = await wxPayScanCode({ orderId: currentOrderInfo.value.orderId }); const res = await wxPayScanCode({ orderId: currentOrderInfo.value.orderId });
routerPushByKey('billing_wxpay', { routerPushByKey('billing_wxpay', {