彭宇 2 vuotta sitten
vanhempi
commit
550d4fa982
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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)
           }
         })
       },