mirror of
https://gitee.com/bootx/dax-pay-h5.git
synced 2025-10-14 14:10:26 +00:00
fix PC收银台支付跳转问题
This commit is contained in:
@@ -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)
|
||||||
|
@@ -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)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user