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 () => {
+      store.getAllsingleDevice();
+      setTimeout(() => {
+        store.getAllsingleDevice();
+      }, 2000);
+
       window.minemap.util.getJSON(
         (import.meta.env.VITE_MAP_SERVER as string) +
           '/service/solu/style/id/' +