feat: the dashboard page is ready for admin console

This commit is contained in:
RockYang
2023-08-02 16:37:47 +08:00
parent 3529649ba9
commit b09d23f97f
7 changed files with 214 additions and 32 deletions

View File

@@ -35,15 +35,15 @@ const routes = [
{
name: 'admin',
path: '/admin',
redirect: '/admin/welcome',
redirect: '/admin/dashboard',
component: () => import("@/views/admin/Home.vue"),
meta: {title: 'ChatGPT-Plus 管理后台'},
children: [
{
path: '/admin/welcome',
name: 'admin-home',
meta: {title: '系统首页'},
component: () => import('@/views/admin/Welcome.vue'),
path: '/admin/dashboard',
name: 'admin-dashboard',
meta: {title: '仪表盘'},
component: () => import('@/views/admin/Dashboard.vue'),
},
{
path: '/admin/system',