feat: use simpler update_counter instead of timestamp for OTA updates

This commit is contained in:
2026-07-11 12:00:20 +08:00
parent 61e98cd6d5
commit 1f60c74ec2
5 changed files with 8 additions and 9 deletions
+2 -2
View File
@@ -1483,8 +1483,8 @@ createApp({
isPushingUpdate.value = true;
// 放弃版本号验证,直接使用时间戳强制下发更新指令
config.update_timestamp = Date.now();
// 每次点击,更新计数器 +1,终端只要看到计数器变大就会更新
config.update_counter = (config.update_counter || 0) + 1;
config.force_update = true;
try {