From a73e691642eeb69480dce35bc307a62f87de043e Mon Sep 17 00:00:00 2001 From: zogodo <742782908@qq.com> Date: Sun, 23 Feb 2020 20:53:26 +0800 Subject: [PATCH] =?UTF-8?q?OTA=20=E5=BC=80=E5=A7=8B=200%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TC1/http_server/web/demo.html | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/TC1/http_server/web/demo.html b/TC1/http_server/web/demo.html index 4b77f7e..9240b14 100644 --- a/TC1/http_server/web/demo.html +++ b/TC1/http_server/web/demo.html @@ -455,7 +455,7 @@ function ShowPage(id) { window.clearTimeout(rescan_timer); } } -ShowPage(5); +ShowPage(1); //Menu-end $("#wifi_sel").on("change", function() { @@ -563,12 +563,6 @@ $("#wifi_submit").on("click", function() { }, params); }); -var data = { - series: [ - [] - ] -}; - //图表-start var data = { series: [ [] ] }; var t = new Chartist.Line('.ct-chart', data, {showArea: true, axisY: {position: 'end'}}); @@ -666,7 +660,7 @@ function OtaStart() { } var ota_status = document.querySelector('#ota_status'); ota_status.addEventListener('mdl-componentupgraded', function() { - this.MaterialProgress.setProgress(50); + this.MaterialProgress.setProgress(0); }); function OtaStatus() { HttpGet("/ota", function (re) {