mirror of
https://github.com/oopuuu/zTC1.git
synced 2026-05-12 03:04:45 +08:00
修复了MQTT曾经连上,但中途长时间断开,导致消息队列一直增加爆内存,进而导致死机的问题
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user