wenhongquan 2 роки тому
батько
коміт
221067d24c
1 змінених файлів з 3 додано та 1 видалено
  1. 3 1
      src/components/MapView/index.tsx

+ 3 - 1
src/components/MapView/index.tsx

@@ -38,7 +38,9 @@ export default defineComponent({
 
     const mainstore = useMainStore();
     mainstore.getUserTicket();
-    
+    setInterval(() => {
+      mainstore.getUserTicket();
+     },1000*20)
   
 
     const linksysdata = reactive([