Prechádzať zdrojové kódy

monitor 列表查询bug

qinhouyu 1 rok pred
rodič
commit
f466c43108
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  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,