|  |  | @ -109,11 +109,17 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |       this.stompClient.subscribe(topic, this.onSubscribe) | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |     onSubscribe (value) { | 
			
		
	
		
			
				
					|  |  |  |       this.pid = 0 | 
			
		
	
		
			
				
					|  |  |  |       this.parentPid = 0 | 
			
		
	
		
			
				
					|  |  |  |       const selectRoute = JSON.parse(value.body) | 
			
		
	
		
			
				
					|  |  |  |       console.log('menuCode', selectRoute) | 
			
		
	
		
			
				
					|  |  |  |       const list = JSON.parse(JSON.stringify(window.SITE_CONFIG['menuList'])) | 
			
		
	
		
			
				
					|  |  |  |       this.$store.state.sidebarMenuList = this.filterRoute(list, selectRoute) | 
			
		
	
		
			
				
					|  |  |  |       console.log(this.$store.state.sidebarMenuList) | 
			
		
	
		
			
				
					|  |  |  |       if (Object.prototype.toString.call(selectRoute) === '[object Array]') { | 
			
		
	
		
			
				
					|  |  |  |         selectRoute.forEach(item => { | 
			
		
	
		
			
				
					|  |  |  |           this.$store.state.sidebarMenuList = this.filterRoute(list, item) | 
			
		
	
		
			
				
					|  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |       } else if (Object.prototype.toString.call(selectRoute) === '[object Object]') { | 
			
		
	
		
			
				
					|  |  |  |         this.$store.state.sidebarMenuList = this.filterRoute(list, selectRoute) | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |       if (this.routeListOne.length > 0) { | 
			
		
	
		
			
				
					|  |  |  |         this.routeListOne = [] | 
			
		
	
		
			
				
					|  |  |  |         this.routeListTwo = JSON.parse(JSON.stringify(this.$store.state.sidebarMenuList)) | 
			
		
	
	
		
			
				
					|  |  | 
 |