mirror of
https://gitee.com/bootx/dax-pay-h5.git
synced 2025-10-14 06:04:51 +00:00
fix PC收银台支付跳转问题
This commit is contained in:
@@ -200,7 +200,7 @@ function payClick() {
|
||||
return
|
||||
}
|
||||
loading.value = false
|
||||
location.replace(data.payBody as any)
|
||||
location.replace(data.payBody as string)
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log(error)
|
||||
|
@@ -213,7 +213,8 @@ const payMethObj = reactive({
|
||||
}
|
||||
// 如果是跳转支付直接跳转支付页面
|
||||
if (item.callType === GatewayCallTypeEnum.link) {
|
||||
router.replace(data.payBody as string)
|
||||
loading.value = false
|
||||
location.replace(data.payBody as string)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
Reference in New Issue
Block a user