From 78a495de605294a6362815800c00c62afab3b4bb Mon Sep 17 00:00:00 2001 From: chenlimao Date: Thu, 2 Jul 2026 09:22:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20OTA=E5=8D=87=E7=BA=A7=E7=94=B5=E9=87=8F?= =?UTF-8?q?=E9=99=90=E5=88=B6=E6=94=B9=E4=B8=BA50?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/OtaModal.vue | 2 +- src/pages/ota-wifi.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/OtaModal.vue b/src/components/OtaModal.vue index 46624d7..c08ce2c 100644 --- a/src/components/OtaModal.vue +++ b/src/components/OtaModal.vue @@ -2,7 +2,7 @@ import { computed } from "vue"; import { getDeviceBatteryAPI } from "@/apis"; -const OTA_MIN_BATTERY = 20; +const OTA_MIN_BATTERY = 50; const OTA_LOW_BATTERY_TEXT = "电量不足 50%,暂不支持 OTA 升级"; const OTA_OFFLINE_TEXT = "请先开启智能弓"; diff --git a/src/pages/ota-wifi.vue b/src/pages/ota-wifi.vue index c0d7f98..c787110 100644 --- a/src/pages/ota-wifi.vue +++ b/src/pages/ota-wifi.vue @@ -1,4 +1,4 @@ -