Browse Source

自动查询时间延长

xjj 2 năm trước cách đây
mục cha
commit
8e283e6021
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/pages/Index.js

+ 1 - 1
src/pages/Index.js

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