mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-20 00:43:22 +08:00
本地ota加入写flash逻辑以后 会卡死。目前不知道如何优化
This commit is contained in:
@@ -1518,6 +1518,7 @@ HttpPost("/shortClickEvent", function (re) {
|
||||
return;
|
||||
}
|
||||
clearTimeout(powerTimerId);
|
||||
console.log(fileInput.files[0].size); // 应显示 647168 左右
|
||||
fetch("/ota/fileUpload", {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/octet-stream" },
|
||||
|
||||
Reference in New Issue
Block a user