Browse Source

退出登陆时间为30分钟

anxiaoxia 2 năm trước cách đây
mục cha
commit
ffad6b5772
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/layouts/index.jsx

+ 1 - 1
src/layouts/index.jsx

@@ -113,7 +113,7 @@ export default (props) => {
     setTimer.current = setTimeout(() => {
       console.log('----没有点击,退出');
       window.parent.postMessage('loginOut', '*');
-    }, 1000 * 60 * 5);
+    }, 1000 * 60 * 30);
   };
   logOut();
   useEffect(() => {