| 
					
				 | 
			
			
				@@ -71,13 +71,16 @@ onMounted(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         eventBus.emit("alarmList:warningLayers", data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         toggleAlarm(alarmList.value[0], 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    eventBus.on("warningHome:toggleArea", (id) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        activeAlarm.value = null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const activeAlarm = ref(1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const toggleAlarm = (item, type) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     activeAlarm.value = item.id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // eventBus.emit("alarmList:changeMapLayer", {name: item.name, url: mapLayerList.value[item.name]}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    eventBus.emit("alarmList:changeMapLayer", {url: mapLayerList.value[item.name], type}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    eventBus.emit("alarmList:changeMapLayer", {url: mapLayerList.value[item.name], type, name: item.name}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |