彭宇 пре 2 година
родитељ
комит
550d4fa982
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      src/views/animal.vue

+ 6 - 0
src/views/animal.vue

@@ -216,6 +216,9 @@
               that.$refs.supermap.clearM(true)
               that.$refs.supermap.setMarkers(that.markersList)
             }, 1000)
+          }else{
+            that.$refs.supermap.clearM(false)
+            that.$refs.supermap.clearM(true)
           }
         })
       },
@@ -274,6 +277,9 @@
               that.$refs.supermap.clearM(true)
               that.$refs.supermap.setMarkers(that.markersList)
             }, 1000)
+          }else{
+            that.$refs.supermap.clearM(false)
+            that.$refs.supermap.clearM(true)
           }
         })
       },