From 75cfcd66eef1cf2190121d1e46b69d2ede895083 Mon Sep 17 00:00:00 2001 From: chenlimao Date: Tue, 18 Aug 2026 13:57:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20OTA=E8=BD=AE=E8=AF=A2=E6=AC=A1=E6=95=B0?= =?UTF-8?q?=E6=94=B9=E4=B8=BA15=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.vue b/src/pages/index.vue index 5023377..b95216b 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -62,7 +62,7 @@ let otaStatusPollCount = 0; let otaUpdateRunId = 0; // 首页 OTA 轮询采用请求次数和总时长双重兜底,避免更新中状态长期卡住。 const OTA_TASK_STATUS_POLL_INTERVAL = 2000; -const OTA_TASK_STATUS_MAX_POLL_COUNT = 10; +const OTA_TASK_STATUS_MAX_POLL_COUNT = 15; const OTA_TASK_STATUS_TIMEOUT = 30000; // 清理首页 OTA 更新定时器,避免弹窗关闭或页面卸载后继续轮询。