From 538208023472e702b7514faacdee7cbcc73b76c1 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期四, 12 九月 2024 11:01:06 +0800 Subject: [PATCH] 调整 --- src/router/index.js | 67 ++++++++++++++++++++------------- 1 files changed, 40 insertions(+), 27 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index ee4ea47..b259f99 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -43,32 +43,32 @@ hidden: true, }, - { - path: "/", - component: Layout, - redirect: "/home", - children: [ - { - path: "home", - name: "home", - component: () => import("@/views/home/index"), - meta: { title: "棣栭〉", icon: "dashboard" }, - }, - ], - }, - { - path: "/", - component: Layout, - redirect: "/curriculum", - children: [ - { - path: "/curriculum", - name: "Curriculum", - component: () => import("@/views/curriculum/index"), - meta: { title: "璇捐〃", icon: "table" }, - }, - ], - }, + // { + // path: "/", + // component: Layout, + // redirect: "/home", + // children: [ + // { + // path: "home", + // name: "home", + // component: () => import("@/views/home/index"), + // meta: { title: "棣栭〉", icon: "dashboard" }, + // }, + // ], + // }, + // { + // path: "/", + // component: Layout, + // redirect: "/curriculum", + // children: [ + // { + // path: "/curriculum", + // name: "Curriculum", + // component: () => import("@/views/curriculum/index"), + // meta: { title: "璇捐〃", icon: "table" }, + // }, + // ], + // }, { path: "/", component: Layout, @@ -78,7 +78,20 @@ path: "/student", name: "Student", component: () => import("@/views/student/index"), - meta: { title: "瀛﹀憳", icon: "table" }, + meta: { title: "瀛﹀憳鍒楄〃", icon: "table" }, + }, + ], + }, + { + path: "/", + component: Layout, + redirect: "/class", + children: [ + { + path: "/class", + name: "Class", + component: () => import("@/views/class/index"), + meta: { title: "鐝骇鍒楄〃", icon: "table" }, }, ], }, -- Gitblit v1.8.0