wang_xy 2 vuotta sitten
vanhempi
commit
7f54541d70
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      src/views/datacenter.vue

+ 2 - 1
src/views/datacenter.vue

@@ -475,8 +475,9 @@ export default {
           that.$refs.supermap.clearM(false)
           that.$refs.supermap.setMarkers(that.markersList)
         })
+      }else{
+        that.$refs.supermap.clearM(false)
       }
-      that.$refs.supermap.clearM(false)
     }
 
   }