From d1d4787cccd849ddac151f01b4ffb5acc8d2e165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=B2=AB=E8=8A=B1=E7=81=ABzzz=F0=9F=8C=99?= Date: Wed, 23 Oct 2024 13:01:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[*]=20=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=EF=BC=8C=E7=A7=BB=E9=99=A4=20MainView?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/sidebar/GuestSidebar.vue | 6 - src/router/index.js | 6 +- src/views/DashboardView.vue | 22 ++- src/views/MainView.vue | 236 ------------------------ src/views/auth/ResetPasswordView.vue | 4 +- 5 files changed, 16 insertions(+), 258 deletions(-) delete mode 100644 src/views/MainView.vue diff --git a/src/components/sidebar/GuestSidebar.vue b/src/components/sidebar/GuestSidebar.vue index 95fda11..4728aaa 100644 --- a/src/components/sidebar/GuestSidebar.vue +++ b/src/components/sidebar/GuestSidebar.vue @@ -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..aa45ec1 100644 --- a/src/views/DashboardView.vue +++ b/src/views/DashboardView.vue @@ -108,7 +108,7 @@ --> - + 1. 若因为自己的迷幻操作导致的各种问题我们没有义务给予回答;
2. 不要因为群里没有人回答你的问题而到处宣扬我们没素质,任何人的时间都是宝贵的,不要因为你的问题而去浪费他人的时间。 @@ -138,17 +138,13 @@
- + - - - - - - + + @@ -158,6 +154,14 @@ + + - - diff --git a/src/views/auth/ResetPasswordView.vue b/src/views/auth/ResetPasswordView.vue index ea33640..51a193e 100644 --- a/src/views/auth/ResetPasswordView.vue +++ b/src/views/auth/ResetPasswordView.vue @@ -233,14 +233,14 @@ const rules = {