wenhongquan 2 năm trước cách đây
mục cha
commit
5b87397b26
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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/' +