wenhongquan il y a 2 ans
Parent
commit
5b87397b26
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      src/components/MarkerMap/index.tsx

+ 5 - 0
src/components/MarkerMap/index.tsx

@@ -1146,6 +1146,11 @@ export default defineComponent({
     };
 
     onMounted(async () => {
+      store.getAllsingleDevice();
+      setTimeout(() => {
+        store.getAllsingleDevice();
+      }, 2000);
+
       window.minemap.util.getJSON(
         (import.meta.env.VITE_MAP_SERVER as string) +
           '/service/solu/style/id/' +