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