diff --git a/src/components/sidebar/GuestSidebar.vue b/src/components/sidebar/GuestSidebar.vue index 95fda11..956457f 100644 --- a/src/components/sidebar/GuestSidebar.vue +++ b/src/components/sidebar/GuestSidebar.vue @@ -27,7 +27,7 @@ import { NIcon, NLayoutSider, NMenu } from 'naive-ui' import { h, ref } from 'vue' -import { CompassOutline, LogInOutline, MailOpenOutline } from '@vicons/ionicons5' +import { LogInOutline, MailOpenOutline } from '@vicons/ionicons5' import { KeyReset20Regular } from '@vicons/fluent' import router from '@router' @@ -44,12 +44,6 @@ function renderIcon(icon) { } const menuOptions = [ - { - path: '/', - label: '首页', - key: 'root', - icon: renderIcon(CompassOutline) - }, { path: '/auth/login', label: '登录', diff --git a/src/router/index.js b/src/router/index.js index 34b13d8..b2561b9 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -9,11 +9,7 @@ const routes = [ children: [ { path: '/', - name: 'MainPage', - meta: { - title: '首页' - }, - component: () => import('@views/MainView.vue') + redirect: '/auth/login' }, { path: '/dashboard', diff --git a/src/views/DashboardView.vue b/src/views/DashboardView.vue index ce7c9a7..cddc1d8 100644 --- a/src/views/DashboardView.vue +++ b/src/views/DashboardView.vue @@ -52,6 +52,7 @@ SPCraftMC @@ -108,7 +109,7 @@ --> - + 1. 若因为自己的迷幻操作导致的各种问题我们没有义务给予回答;
2. 不要因为群里没有人回答你的问题而到处宣扬我们没素质,任何人的时间都是宝贵的,不要因为你的问题而去浪费他人的时间。 @@ -138,17 +139,13 @@
- + - - - - - - + + @@ -158,6 +155,14 @@ + + - - diff --git a/src/views/auth/ResetPasswordView.vue b/src/views/auth/ResetPasswordView.vue index ea33640..5a7adad 100644 --- a/src/views/auth/ResetPasswordView.vue +++ b/src/views/auth/ResetPasswordView.vue @@ -99,10 +99,8 @@