Explorar el Código

monitor 列表查询bug

qinhouyu hace 1 año
padre
commit
f466c43108
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/views/monitor.vue

+ 2 - 0
src/views/monitor.vue

@@ -947,6 +947,7 @@ export default {
         .then(function (res) {
           that.loudspeakerNum = res.data.length;
           that.visuForestCloudCameraBOListSearch = [];
+          that.tempList = []
           if (res.data != null && res.data.length > 0) {
             for (let j = 0; j < res.data.length; j++) {
               let dat = {
@@ -956,6 +957,7 @@ export default {
               };
               that.visuForestCloudCameraBOListSearch.push(dat);
             }
+            that.tempList = that.visuForestCloudCameraBOListSearch
             for (let i = 0; i < res.data.length; i++) {
               let markersMap = {
                 lng: 124.59,