|  | @@ -5,7 +5,6 @@ import modal from "@/plugins/modal";
 | 
	
		
			
				|  |  |  import common from "@/plugins/common";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  let timeout = 10000;
 | 
	
		
			
				|  |  | -const baseUrl = config.baseUrl;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const upload = (config) => {
 | 
	
		
			
				|  |  |    const useStore = useStores();
 | 
	
	
		
			
				|  | @@ -24,7 +23,7 @@ const upload = (config) => {
 | 
	
		
			
				|  |  |    return new Promise((resolve, reject) => {
 | 
	
		
			
				|  |  |      uni.uploadFile({
 | 
	
		
			
				|  |  |        timeout: config.timeout || timeout,
 | 
	
		
			
				|  |  | -      url: baseUrl + config.url,
 | 
	
		
			
				|  |  | +      url: config.baseUrl + config.url,
 | 
	
		
			
				|  |  |        filePath: config.filePath,
 | 
	
		
			
				|  |  |        name: config.name || "file",
 | 
	
		
			
				|  |  |        header: config.header,
 |