| | |
| | | const Layout = () => import("@/layout/index.vue"); |
| | | |
| | | export default [ |
| | | // { |
| | | // path: "/", |
| | | // name: "Main", |
| | | // redirect: "/home", |
| | | // meta: { |
| | | // title: "首页", |
| | | // showLink: false, |
| | | // rank: 101 |
| | | // } |
| | | // }, |
| | | { |
| | | path: "/index", |
| | | name: "Main", |
| | | component: () => import("@/views/home/index.vue"), |
| | | meta: { |
| | | title: "首页", |
| | | showLink: false, |
| | | rank: 101 |
| | | } |
| | | }, |
| | | { |
| | | path: "/login", |
| | | name: "Login", |
| | |
| | | } |
| | | }, |
| | | { |
| | | path: "/", |
| | | name: "Home", |
| | | component: () => import("@/views/home/index.vue"), |
| | | path: "/register", |
| | | name: "Register", |
| | | component: () => import("@/views/register/index.vue"), |
| | | meta: { |
| | | title: "首页", |
| | | title: "注册", |
| | | showLink: false, |
| | | rank: 101 |
| | | rank: 104 |
| | | } |
| | | }, |
| | | { |
| | | path: "/registersucess", |
| | | name: "RegisterSucess", |
| | | component: () => import("@/views/register/registersucess.vue"), |
| | | meta: { |
| | | title: "注册成功", |
| | | showLink: false, |
| | | rank: 103 |
| | | } |
| | | }, |
| | | { |