|  | @@ -22,6 +22,7 @@ import { removeSession } from "@/utils/role";
 | 
											
												
													
														|  |  import { removeToken } from "@/utils/auth";
 |  |  import { removeToken } from "@/utils/auth";
 | 
											
												
													
														|  |  import Cookies from "js-cookie";
 |  |  import Cookies from "js-cookie";
 | 
											
												
													
														|  |  import data from './common/data';
 |  |  import data from './common/data';
 | 
											
												
													
														|  | 
 |  | +import { getConfig } from "@/utils/auth";
 | 
											
												
													
														|  |  export default {
 |  |  export default {
 | 
											
												
													
														|  |    name: "App",
 |  |    name: "App",
 | 
											
												
													
														|  |    data() {
 |  |    data() {
 | 
											
										
											
												
													
														|  | @@ -81,7 +82,8 @@ export default {
 | 
											
												
													
														|  |          this.timeOut = setInterval(()=>{
 |  |          this.timeOut = setInterval(()=>{
 | 
											
												
													
														|  |              let lastClickTime = sessionStorage.getItem('lastClickTime')*1
 |  |              let lastClickTime = sessionStorage.getItem('lastClickTime')*1
 | 
											
												
													
														|  |              let nowTime = new Date().getTime()
 |  |              let nowTime = new Date().getTime()
 | 
											
												
													
														|  | -            if(nowTime - lastClickTime > 1000 * 5){
 |  | 
 | 
											
												
													
														|  | 
 |  | +            let dataConfig = JSON.parse(getConfig());
 | 
											
												
													
														|  | 
 |  | +            if(nowTime - lastClickTime > 1000 * dataConfig.user_connection_timeout_duration){
 | 
											
												
													
														|  |                  clearInterval(this.timeOut)
 |  |                  clearInterval(this.timeOut)
 | 
											
												
													
														|  |                  removeSession("SysList");
 |  |                  removeSession("SysList");
 | 
											
												
													
														|  |                  removeToken();
 |  |                  removeToken();
 | 
											
										
											
												
													
														|  | @@ -89,7 +91,7 @@ export default {
 | 
											
												
													
														|  |                  this.userShow = false;
 |  |                  this.userShow = false;
 | 
											
												
													
														|  |                  this.userMessage = null;
 |  |                  this.userMessage = null;
 | 
											
												
													
														|  |                  sessionStorage.removeItem("useragent_root_close");
 |  |                  sessionStorage.removeItem("useragent_root_close");
 | 
											
												
													
														|  | -                window.location.href = 'https://gcls.helxsoft.cn/'
 |  | 
 | 
											
												
													
														|  | 
 |  | +                window.location.href = dataConfig.sys_home_url
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  |          })
 |  |          })
 | 
											
												
													
														|  |      }
 |  |      }
 |