remaining.ts 590 B

123456789101112131415161718192021222324252627282930
  1. const Layout = () => import("@/layout/index.vue");
  2. export default [
  3. {
  4. path: "/login",
  5. name: "Login",
  6. component: () => import("@/views/login/index.vue"),
  7. meta: {
  8. title: "登录",
  9. showLink: false,
  10. rank: 101
  11. }
  12. },
  13. {
  14. path: "/redirect",
  15. component: Layout,
  16. meta: {
  17. title: "加载中...",
  18. showLink: false,
  19. rank: 102
  20. },
  21. children: [
  22. {
  23. path: "/redirect/:path(.*)",
  24. name: "Redirect",
  25. component: () => import("@/layout/redirect.vue")
  26. }
  27. ]
  28. }
  29. ] satisfies Array<RouteConfigsTable>;