| 
					
				 | 
			
			
				@@ -187,6 +187,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       userShow: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       language_list: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       lang: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      headTimer: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   watch: {}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -425,10 +426,16 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     _this.getLangList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     _this.getNotReadMessage(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    setInterval(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    _this.headTimer = setInterval(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       _this.getNotReadMessage(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 120000); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  beforeDestroy() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if (this.headTimer) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //如果定时器还在运行 或者直接关闭,不用判断 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      clearInterval(this.headTimer); //关闭 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |