返回扫描结果

This commit is contained in:
zogodo
2019-09-29 21:54:54 +08:00
parent b457d576e4
commit d2eb6a3c7d
6 changed files with 65 additions and 9 deletions

View File

@@ -333,7 +333,8 @@ function Rescan() {
function GetScanResult() {
HttpGet("/wifi/scan", function (re) {
if (re == "OK") {
if (re != "NO") {
var ret = JSON.parse(re);
rescan_btn.innerHTML = "Rescan";
rescan_btn.disabled = false;
return;