| 
					
				 | 
			
			
				@@ -1,4 +1,4 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { floor, random, slice } from 'lodash-es'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { floor, isArray, random, slice } from 'lodash-es'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { defHttp } from '/@/utils/http/axios'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { get } from '../billboard/utils'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -77,8 +77,12 @@ export const list = (params) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // e.dengjikong_merge = floor((1.19 * (m3_merge / 60)) / Math.sqrt(drag_merge), 2); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     res.sys_surface_caimei.forEach((e) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      e.history = slice(e.history, e.history.length - 30, e.history.length); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      e.history_report = slice(e.history_report, e.history_report.length - 30, e.history_report.length); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (isArray(e.history)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        e.history = slice(e.history, e.history.length - 30, e.history.length); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (isArray(e.history_report)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        e.history_report = slice(e.history_report, e.history_report.length - 30, e.history_report.length); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     res.device_arr = Object.values(res.device); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |