瀏覽代碼

退出登陆时间为30分钟

anxiaoxia 2 年之前
父節點
當前提交
ffad6b5772
共有 1 個文件被更改,包括 1 次插入1 次删除
  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(() => {