fix PC收银台支付跳转问题

This commit is contained in:
daxpay
2025-04-28 17:38:47 +08:00
parent d32e6933c6
commit 71d6ee162f
2 changed files with 3 additions and 2 deletions

View File

@@ -200,7 +200,7 @@ function payClick() {
return return
} }
loading.value = false loading.value = false
location.replace(data.payBody as any) location.replace(data.payBody as string)
}) })
.catch((error) => { .catch((error) => {
console.log(error) console.log(error)

View File

@@ -213,7 +213,8 @@ const payMethObj = reactive({
} }
// 如果是跳转支付直接跳转支付页面 // 如果是跳转支付直接跳转支付页面
if (item.callType === GatewayCallTypeEnum.link) { if (item.callType === GatewayCallTypeEnum.link) {
router.replace(data.payBody as string) loading.value = false
location.replace(data.payBody as string)
} }
}) })
}, },