杨磊
2025-03-31 b583abaeafe29ef6ca4d451f2753f15cf2c785ff
src/router/index.js
@@ -22,14 +22,14 @@
    children: [
      // 在主框架内
      {
        path: "/home",
        name: "home",
        path: "/chronology",
        name: "chronology",
        meta: {
          name: "首页",
          authentication: false, // 是否需要登录验证
          keepAlive: false // 是否需要缓存
        },
        component: Home
        component: ()=> import("@/views/chronology/index.vue")
      },
      // {
@@ -42,10 +42,21 @@
      //   component: () => import("@/views/login/login")
      // },
    ]
  },
  // 不在主框架内
  {
    path: "/home",
    name: "home",
    meta: {
      name: "首页",
      authentication: false, // 是否需要登录验证
      keepAlive: false // 是否需要缓存
    },
    component: Home
  },
  // {
  //   path: "/pdf",
  //   name: "pdf",