From 1f6c7050d8cadf5dde9b4e126eff842aa5cae4f9 Mon Sep 17 00:00:00 2001 From: yangduo Date: Fri, 26 Jul 2024 17:10:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 5 +++-- src/router/index.js | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 44ad235..ec9276a 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -26,7 +26,7 @@ - + + {{ $t('navbar.logOut') }} diff --git a/src/router/index.js b/src/router/index.js index ddbf069..8b1039a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -74,6 +74,7 @@ export const constantRoutes = [ path: '/', component: Layout, redirect: '/dashboard', + hidden: true, children: [ { path: 'dashboard', @@ -86,6 +87,7 @@ export const constantRoutes = [ { path: '/icon', component: Layout, + hidden: true, children: [ { path: 'index',