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([