彭宇 преди 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)
           }
         })
       },