2024-08-28 10:36:16 +08:00
|
|
|
import { $t } from "@/plugins/i18n";
|
|
|
|
const Layout = () => import("@/layout/index.vue");
|
2024-05-11 14:48:02 +08:00
|
|
|
|
|
|
|
export default [
|
2024-08-28 10:36:16 +08:00
|
|
|
{
|
|
|
|
path: "/login",
|
|
|
|
name: "Login",
|
|
|
|
component: () => import("@/views/login/index.vue"),
|
|
|
|
meta: {
|
|
|
|
title: $t("menus.pureLogin"),
|
|
|
|
showLink: false,
|
|
|
|
rank: 101
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/redirect",
|
|
|
|
component: Layout,
|
|
|
|
meta: {
|
|
|
|
title: $t("status.pureLoad"),
|
|
|
|
showLink: false,
|
|
|
|
rank: 102
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "/redirect/:path(.*)",
|
|
|
|
name: "Redirect",
|
|
|
|
component: () => import("@/layout/redirect.vue")
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2024-05-11 14:48:02 +08:00
|
|
|
] satisfies Array<RouteConfigsTable>;
|