沈丘营商办后台前端项目
wjt
2024-07-22 225e92ed4fd01dd9be529d7f9e5e546e05a0d277
src/router/index.ts
@@ -1,6 +1,7 @@
import { createWebHistory, createRouter, RouteRecordRaw } from "vue-router";
/* Layout */
import Layout from "@/layout/index.vue";
import path from "path";
/**
 * Note: 路由配置项
@@ -58,16 +59,20 @@
    hidden: true,
  },
  {
    path: '/main',
    component: () => import("@/views/main/indexMarge.vue"),
  },
  {
    path: "",
    component: Layout,
    redirect: "/index",
    redirect: "/home",
    children: [
      {
        path: "/index",
        component: () => import("@/views/index.vue"),
        name: "Index",
        meta: { title: "函件信息", icon: "dashboard", affix: true },
      },
      // {
      //   path: "/index",
      //   component: () => import("@/views/index.vue"),
      //   name: "Index",
      //   meta: { title: "函件信息", icon: "dashboard", affix: true },
      // },
    ],
  },
  {