This commit is contained in:
ping 2025-09-26 14:07:47 +08:00
parent 901e6218d2
commit 234d1acedf
2 changed files with 8 additions and 3 deletions

View File

@ -775,7 +775,7 @@ async def baidu_confirm_refund_order(ns={}):
await sor.U('baidu_orders', {'id': refund_id, 'refundstatus': '1'}) await sor.U('baidu_orders', {'id': refund_id, 'refundstatus': '1'})
# 增加延迟 # 增加延迟
await asyncio.sleep(1) await asyncio.sleep(4)
# 延迟2-3秒还是获取到 ready状态的订单那就重复请求一次目的是尽快刷新状态 # 延迟2-3秒还是获取到 ready状态的订单那就重复请求一次目的是尽快刷新状态
async with aiohttp_client.request( async with aiohttp_client.request(

View File

@ -97,7 +97,12 @@ export default {
// this.$router.push({ // this.$router.push({
// path: '/customer/unsubscribe/BaiduNetdisk', // path: '/customer/unsubscribe/BaiduNetdisk',
// }); // });
window.location.reload(); // //
if (this.$router) {
this.$router.go(0); // 使 Vue Router
} else {
window.location.reload(); //
}
} else { } else {
// //