33 lines
644 B
TypeScript
33 lines
644 B
TypeScript
import { $t } from "@/plugins/i18n";
|
|
|
|
const Layout = () => import("@/layout/index.vue");
|
|
|
|
export default [
|
|
{
|
|
path: "/login",
|
|
name: "Login",
|
|
component: () => import("@/views/login/index.vue"),
|
|
meta: {
|
|
title: "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")
|
|
}
|
|
]
|
|
}
|
|
] satisfies Array<RouteConfigsTable>;
|