【功能优化】支付:查询支付订单时,增加 sync 主动轮询,解决支付宝、微信存在延迟的问题

This commit is contained in:
YunaiV
2024-09-24 09:05:08 +08:00
parent da45ee034c
commit 74e04279c2
2 changed files with 9 additions and 3 deletions

View File

@ -231,7 +231,7 @@ const getDetail = async () => {
goReturnUrl('cancel')
return
}
const data = await PayOrderApi.getOrder(id.value)
const data = await PayOrderApi.getOrder(id.value, true)
payOrder.value = data
// 1.2 无法查询到支付信息
if (!data) {