src/components/TopNav/index.vue @@ -141,6 +141,8 @@ } if(routes.length > 0) { permissionStore.setSidebarRouters(routes); } else { appStore.toggleSideBarHide(true); } return routes; }