ZhuDongming
2020-04-27 77817ac4bc2b39eb6b82c0dae1496af223afaf19
update
1 files modified
2 ■■■■■ changed files
src/main/webapp/js/moralmap.js 2 ●●●●● patch | view | raw | blame | history
src/main/webapp/js/moralmap.js
@@ -1052,7 +1052,6 @@
    var deviceStates;
    var monitorPointStates;
    moralMap.refreshState = function (states) {
        if (!monitorPointStates) {
            monitorPointStates = states;
            deviceStates = [];
            for (var i in states) {
@@ -1060,7 +1059,6 @@
                for (var j in state.devices) {
                    var device = state.devices[j];
                    deviceStates.push(device);
                }
            }
        }
        listView.refreshState(deviceStates);