|  | @@ -4,16 +4,18 @@ import store from '@/store'
 | 
	
		
			
				|  |  |  import { getToken } from '@/utils/auth'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  //获取当前url
 | 
	
		
			
				|  |  | -const DOoMainString = document.querySelector("html").getAttribute("domain");
 | 
	
		
			
				|  |  | -console.log(DOoMainString,'======DOoMainString=====')
 | 
	
		
			
				|  |  | +const DoMainString = document.querySelector("html").getAttribute("domain");
 | 
	
		
			
				|  |  |  var URL = process.env.VUE_APP_BASE_API
 | 
	
		
			
				|  |  | +if (DoMainString) {
 | 
	
		
			
				|  |  | +  URL = DoMainString
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  console.log(URL,'===========URL')
 | 
	
		
			
				|  |  | -console.log(process.env.VITE_DOMAIN,'===========VITE_DOMAIN')
 | 
	
		
			
				|  |  | -console.log(this.DoMain,'======this.DOMAIN=====')
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  //获取当前url
 | 
	
		
			
				|  |  |  if(URL.indexOf('/')==0 && URL.length==1){
 | 
	
		
			
				|  |  |    URL= window.location.protocol + "//"+window.location.host+URL
 | 
	
		
			
				|  |  | -  console.log(URL,'===========URL')
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |    const service = axios.create({
 | 
	
		
			
				|  |  |      baseURL: URL, // url = base url + request url
 |