|
@@ -127,7 +127,12 @@ export default (props) => {
|
|
|
className={styles.layout}
|
|
|
onClick={(event) => {
|
|
|
console.log('----已点击等待超时,退出');
|
|
|
- logOut('----点击后超时,退出');
|
|
|
+ clearTimeout(setTimer.current);
|
|
|
+ setTimer.current = null;
|
|
|
+ setTimer.current = setTimeout(() => {
|
|
|
+ console.log('----点击超时,退出');
|
|
|
+ window.open('http://10.100.28.70/saasweb/middleware', '_top');
|
|
|
+ }, 1000 * 60 * 5);
|
|
|
}}
|
|
|
>
|
|
|
<div className={styles.header}>
|