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;