| | |
| | | name: "HomeLayout", |
| | | component: HomeLayout, |
| | | redirect: { |
| | | name: "honor", |
| | | name: "chronology", |
| | | }, |
| | | children: [ |
| | | // 在主框架内 |
| | |
| | | path: "/chronology", |
| | | name: "chronology", |
| | | meta: { |
| | | name: "首页", |
| | | name: "年谱", |
| | | authentication: false, // 是否需要登录验证 |
| | | keepAlive: false, // 是否需要缓存 |
| | | }, |
| | | component: () => import("@/views/chronology/index.vue") |
| | | }, |
| | | |
| | | { |
| | | path: "/honor", |
| | | name: "honor", |
| | |
| | | }, |
| | | component: Honor, |
| | | }, |
| | | |
| | | { |
| | | path: "/achievements", |
| | | name: "achievements", |
| | | meta: { |
| | | name: "学术成果", |
| | | }, |
| | | component: () => import("@/views/achievements/index.vue"), |
| | | }, |
| | | { |
| | | path: "/directory", |
| | | name: "directory", |
| | | meta: { |
| | | name: "学生名录", |
| | | }, |
| | | component: () => import("@/views/directory/index.vue"), |
| | | }, |
| | | // { |
| | | // path: "/login", |
| | | // name: "login", |