wenhongquan 2 vuotta sitten
vanhempi
commit
221067d24c
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  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([