|  | @@ -139,7 +139,7 @@ router.beforeEach((to: toRouteType, _from, next) => {
 | 
	
		
			
				|  |  |        if (
 | 
	
		
			
				|  |  |          usePermissionStoreHook().wholeMenus.length === 0 &&
 | 
	
		
			
				|  |  |          to.path !== "/login"
 | 
	
		
			
				|  |  | -      )
 | 
	
		
			
				|  |  | +      ) {
 | 
	
		
			
				|  |  |          initRouter().then((router: Router) => {
 | 
	
		
			
				|  |  |            if (!useMultiTagsStoreHook().getMultiTagsCache) {
 | 
	
		
			
				|  |  |              const { path } = to;
 | 
	
	
		
			
				|  | @@ -158,6 +158,7 @@ router.beforeEach((to: toRouteType, _from, next) => {
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |            router.push(to.fullPath);
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  |        toCorrectRoute();
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    } else {
 |