From 8fe46213800016e7395513c47e89913a4472ff6b Mon Sep 17 00:00:00 2001 From: wen Date: Wed, 12 Oct 2022 09:12:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B7=A8=E5=9F=9F=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=EF=BC=8C=E7=B3=BB=E7=BB=9F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 8 ++--- src/views/filemange/index.vue | 57 +++++++++++++++++++++++++++++++++++ src/views/login/index.vue | 29 +++++++++++++++--- vue.config.js | 15 +++++++-- 4 files changed, 98 insertions(+), 11 deletions(-) create mode 100644 src/views/filemange/index.vue diff --git a/src/router/index.js b/src/router/index.js index c3c307c..5054d12 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -48,18 +48,18 @@ export const constantRoutes = [ redirect: '/filemange', children: [{ path: 'filemange', - name: 'filemange', - component: () => import('@/views/dashboard/index'), + name: 'Filemange', + component: () => import('@/views/filemange/index'), meta: { title: '文件管理', icon: 'dashboard' } }] }, { - path: '/', + path: '', component: Layout, redirect: '/usermange', children: [{ path: 'usermange', - name: 'usermange', + name: 'Usermange', component: () => import('@/views/usermanage/index'), meta: { title: '用户管理', icon: 'dashboard' } }] diff --git a/src/views/filemange/index.vue b/src/views/filemange/index.vue new file mode 100644 index 0000000..84aba5a --- /dev/null +++ b/src/views/filemange/index.vue @@ -0,0 +1,57 @@ + + + + + diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 84229f8..a477551 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -48,9 +48,7 @@ username: admin password: any --> - - @@ -164,12 +162,13 @@ $cursor: #3c3535;