local/www/js/page/detail-yg-hw-ls.js
@@ -27,6 +27,8 @@ var dataList = new Array(); //遍历同类型设备集合,根据id查询数据后保存 for (var i = 0; i < deviceList.length; i++) { var cur = deviceList[i]; if(cur.vld != 1){ $.post("./cgi-bin/detail/query-data", JSON.stringify({id: deviceList[i].id}), function (data, status) { if ("success" == status) { console.log(data); @@ -34,6 +36,7 @@ } }, "json"); } } if (dataList != null && dataList.length > 0) { renderInfo(dataList); } else {