浏览代码

自动查询时间延长

xjj 2 年之前
父节点
当前提交
8e283e6021
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pages/Index.js

+ 1 - 1
src/pages/Index.js

@@ -44,7 +44,7 @@ function LayoutDetail(props) {
         type: 'authList/queryAuthList',
         payload: { user_id: currentUser.ID },
       });
-    }, 10000);
+    }, 60000);
 
     return () => clearInterval(timer);
   }, [currentUser.ID]);