wenhongquan %!s(int64=2) %!d(string=hai) anos
pai
achega
221067d24c
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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([