Explorar el Código

退出登陆时间为30分钟

anxiaoxia hace 2 años
padre
commit
ffad6b5772
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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(() => {