This commit is contained in:
		
							parent
							
								
									ce846cc58f
								
							
						
					
					
						commit
						f925f563fb
					
				| 
						 | 
				
			
			@ -347,7 +347,12 @@ export default {
 | 
			
		|||
            const match = newVal.some((item) => positionID.includes(item.id));
 | 
			
		||||
            if (match) {
 | 
			
		||||
              newVal.forEach((newItem) => {
 | 
			
		||||
                if (newItem.drone_lon !== 0 && newItem.drone_lat !== 0) {
 | 
			
		||||
                if (
 | 
			
		||||
                  newItem.drone_lon !== 0 &&
 | 
			
		||||
                  newItem.drone_lat !== 0 &&
 | 
			
		||||
                  newItem.app_lon !== 0 &&
 | 
			
		||||
                  newItem.app_lat !== 0
 | 
			
		||||
                ) {
 | 
			
		||||
                  // 如果已经存在相同BatchId的数据,重置计时器
 | 
			
		||||
                  if (newItem.BatchId) {
 | 
			
		||||
                    const existingTimer = this.droneTimers.get(newItem.BatchId);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue