Переглянути джерело

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

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

zhangningning 2 тижнів тому
батько
коміт
4794edcccc
1 змінених файлів з 1 додано та 1 видалено
  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