|  | @@ -4,15 +4,15 @@ import { ref, onMounted, onUnmounted, nextTick } from 'vue'
 | 
	
		
			
				|  |  |  import Confirm from '@/plugins/confirm'
 | 
	
		
			
				|  |  |  import axios from 'axios'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -const testOpen = true // 开启测试环境测试 默认关闭
 | 
	
		
			
				|  |  | +const testVersion = '' // 开启测试环境测试 (默认为空关闭测试,v24.11.07.1936测试使用) 
 | 
	
		
			
				|  |  |  const timer = ref(null)
 | 
	
		
			
				|  |  | -const setIntervalTime = 30000 // 
 | 
	
		
			
				|  |  | +const setIntervalTime = 300000 // 五分钟, 自动关闭弹窗时间/2
 | 
	
		
			
				|  |  |  onMounted(() => {
 | 
	
		
			
				|  |  |    nextTick(() => {
 | 
	
		
			
				|  |  | -    console.log('baseurl', import.meta.env?.VITE_BASE_URL, 'version', import.meta.env?.VITE_VERSION, process?.env?.NODE_ENV)
 | 
	
		
			
				|  |  | +    console.log('baseurl:', import.meta.env?.VITE_BASE_URL, 'version:', import.meta.env?.VITE_VERSION || testVersion)
 | 
	
		
			
				|  |  |      //
 | 
	
		
			
				|  |  |      const process_ENV = process?.env?.NODE_ENV || ''
 | 
	
		
			
				|  |  | -    if (process_ENV === 'production' || testOpen) { // development production
 | 
	
		
			
				|  |  | +    if (process_ENV === 'production' || testVersion) { // development production
 | 
	
		
			
				|  |  |        if (timer.value) clearInterval(timer.value)
 | 
	
		
			
				|  |  |        timer.value = setInterval(() => { checkVersion() }, setIntervalTime)
 | 
	
		
			
				|  |  |      }
 | 
	
	
		
			
				|  | @@ -25,7 +25,7 @@ onUnmounted(() => {
 | 
	
		
			
				|  |  |  // 检查版本号
 | 
	
		
			
				|  |  |  const checkVersion = () => {
 | 
	
		
			
				|  |  |    const baseUrl = import.meta.env.VITE_BASE_URL || ''
 | 
	
		
			
				|  |  | -  const version = import.meta.env?.VITE_VERSION || ''
 | 
	
		
			
				|  |  | +  const version = import.meta.env?.VITE_VERSION || testVersion
 | 
	
		
			
				|  |  |    const tenantId = import.meta.env?.VITE_TENANTCODE || ''
 | 
	
		
			
				|  |  |    if (!baseUrl || !version) return
 | 
	
		
			
				|  |  |    axios.get(`${baseUrl}/app-api/menduner/system/get/version`, {
 |