1 #161
@ -149,7 +149,7 @@ this.dataInit();
 | 
			
		||||
                link.href = url;
 | 
			
		||||
 | 
			
		||||
                // 设置文件名
 | 
			
		||||
                link.setAttribute('download', `${devicecode}.txt`);
 | 
			
		||||
                link.setAttribute('download', `控制器-${devicecode}.txt`);
 | 
			
		||||
 | 
			
		||||
                // 模拟点击下载
 | 
			
		||||
                document.body.appendChild(link);
 | 
			
		||||
 | 
			
		||||
@ -133,7 +133,7 @@ export default {
 | 
			
		||||
                link.href = url;
 | 
			
		||||
 | 
			
		||||
                // 设置文件名
 | 
			
		||||
                link.setAttribute('download', `${devicecode}.txt`);
 | 
			
		||||
                link.setAttribute('download', `施肥机-${devicecode}.txt`);
 | 
			
		||||
 | 
			
		||||
                // 模拟点击下载
 | 
			
		||||
                document.body.appendChild(link);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user