wenhongquan 2 년 전
부모
커밋
5b87397b26
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      src/components/MarkerMap/index.tsx

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

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