wenhongquan %!s(int64=2) %!d(string=hai) anos
pai
achega
ab619c3ff3
Modificáronse 2 ficheiros con 6 adicións e 0 borrados
  1. 2 0
      src/components/MarkerMap/index.tsx
  2. 4 0
      src/layout/BaseLayout/index.tsx

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

@@ -1147,8 +1147,10 @@ export default defineComponent({
 
     onMounted(async () => {
       store.getAllsingleDevice();
+      
       setTimeout(() => {
         store.getAllsingleDevice();
+        store.getAllvideoDevice();
       }, 2000);
 
       window.minemap.util.getJSON(

+ 4 - 0
src/layout/BaseLayout/index.tsx

@@ -156,6 +156,10 @@ export default defineComponent({
 
     // login da hua
     onMounted(async () => {
+      setTimeout(() => {
+        markerstore.getAllsingleDevice();
+        markerstore.getAllvideoDevice();
+      }, 4000);
       const meeting = new Meeting();
       meeting.$Message = ElMessage;
       meeting.openClient(() => {