| 
					
				 | 
			
			
				@@ -25,23 +25,17 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (lang_type == "AR") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.dir = "rtl"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    if(localStorage.getItem("useragent_root_type")&&localStorage.getItem("useragent_root_type")!=='true'&&!localStorage.getItem("useragent_root_close")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.userAgentTipShow = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.handleUserAgentRoot() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.handleUserAgentRoot() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     methods:{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 判断是否为chrome浏览器  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       handleUserAgentRoot(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          if(navigator.userAgent.indexOf('Chrome') > -1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              localStorage.setItem("useragent_root_type", true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              localStorage.setItem("useragent_root_type", false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if(!sessionStorage.getItem("useragent_root_close") && navigator.userAgent.indexOf('Chrome') == -1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.userAgentTipShow = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       handleClickUserAgent(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          localStorage.setItem("useragent_root_close", true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          sessionStorage.setItem("useragent_root_close", true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.userAgentTipShow = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 |