Explorar o código

```
feat(order): 增加支付状态轮询最大次数

将支付状态轮询的最大次数从30次增加到100次,
以支持更长时间的支付状态检测需求。
```

zhangningning hai 2 semanas
pai
achega
4794edcccc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/pages/order/orderConfirm.vue

+ 1 - 1
src/pages/order/orderConfirm.vue

@@ -332,7 +332,7 @@ const payNowFn = () => {
 // 支付状态轮询相关
 const pollingTimer = ref(null)
 const isPolling = ref(false)
-const maxPollingAttempts = 30 // 最大轮询次数
+const maxPollingAttempts = 100 // 最大轮询次数
 const pollingAttempts = ref(0)
 const pollingInterval = 3000