zhangwei
9 天以前 03c275439949875a857538df89a41696642c42b3
src/router/modules/remaining.ts
@@ -1,10 +1,20 @@
const Layout = () => import("@/layout/index.vue");
export default [
  // {
  //   path: "/",
  //   name: "Main",
  //   redirect: "/home",
  //   meta: {
  //     title: "首页",
  //     showLink: false,
  //     rank: 101
  //   }
  // },
  {
    path: "/",
    name: "Main",
    redirect: "/home",
    path: "/index",
    name: "MainPage",
    component: () => import("@/views/home/index.vue"),
    meta: {
      title: "首页",
      showLink: false,
@@ -12,11 +22,11 @@
    }
  },
  {
    path: "/home",
    name: "Home",
    component: () => import("@/views/home/index.vue"),
    path: "/gonggaoDetail",
    name: "gonggaoDetail",
    component: () => import("@/views/home/detail.vue"),
    meta: {
      title: "首页",
      title: "公告详情",
      showLink: false,
      rank: 101
    }
@@ -33,8 +43,8 @@
  },
  {
    path: "/register",
    name: "Register",
    component: () => import("@/views/register/index.vue"),
    name: "newRegister",
    component: () => import("@/views/newregister/index.vue"),
    meta: {
      title: "注册",
      showLink: false,
@@ -52,6 +62,16 @@
    }
  },
  {
    path: "/registernav",
    name: "RegisterNav",
    component: () => import("@/views/register/registernav.vue"),
    meta: {
      title: "注册向导",
      showLink: false,
      rank: 103
    }
  },
  {
    path: "/redirect",
    component: Layout,
    meta: {