wenhongquan 2 жил өмнө
parent
commit
5b87397b26

+ 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/' +