Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -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 });
|
||||||
|
|||||||
@@ -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', {
|
||||||
|
|||||||
Reference in New Issue
Block a user