diff --git a/src/router/index.ts b/src/router/index.ts
index 7d195ce2..84d39697 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -16,16 +16,21 @@ export const constantRoutes: RouteRecordRaw[] = [
{
path: '/',
component: Layout,
- redirect: '/dashboard',
- children: [
- {
- path: 'dashboard',
- component: () => import('@/views/dashboard/index.vue'),
- name: 'Dashboard',
- meta: { title: 'dashboard', icon: 'homepage', affix: true },
- },
- ],
+ meta: { hidden: true },
},
+ // {
+ // path: '/',
+ // component: Layout,
+ // redirect: '/dashboard',
+ // children: [
+ // {
+ // path: 'dashboard',
+ // component: () => import('@/views/dashboard/index.vue'),
+ // name: 'Dashboard',
+ // meta: { title: 'dashboard', icon: 'homepage', affix: true },
+ // },
+ // ],
+ // },
];
/**
* 创建路由
diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
deleted file mode 100644
index 21b71e69..00000000
--- a/src/views/dashboard/index.vue
+++ /dev/null
@@ -1,13 +0,0 @@
-
- 这是首页
-
-
-