修复了MQTT曾经连上,但中途长时间断开,导致消息队列一直增加爆内存,进而导致死机的问题

This commit is contained in:
Your Name
2025-04-21 21:29:15 +08:00
parent 36861fadff
commit eece61e380
3 changed files with 49 additions and 49 deletions

View File

@@ -1519,7 +1519,7 @@ document.getElementById("submit-ota-link").disabled = true;
//return;
var fileInput = document.getElementById("ota_file");
if (fileInput.files.length === 0) {
Toast("请选择要上传的 OTA 文件");
ShowToast("请选择要上传的 OTA 文件");
return;
}
clearTimeout(powerTimerId);