diff --git a/src/router/index.js b/src/router/index.js index 5115a6a..540851d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -69,6 +69,7 @@ export const constantRoutes = [ { path: "index", component: () => import("@/views/index"), + hidden: true, name: "Index", meta: { title: "首页", icon: "dashboard", affix: true }, }, diff --git a/src/views/index.vue b/src/views/index.vue index 0f66a29..ad4a12c 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -3,7 +3,16 @@