36 lines
753 B
TypeScript
36 lines
753 B
TypeScript
import { $t } from "@/plugins/i18n";
|
|
import type { RouteConfigsTable } from "/#/index";
|
|
const Layout = () => import("@/layout/index.vue");
|
|
|
|
const remainingRouter: Array<RouteConfigsTable> = [
|
|
{
|
|
path: "/login",
|
|
name: "Login",
|
|
component: () => import("@/views/login/index.vue"),
|
|
meta: {
|
|
title: $t("menus.hslogin"),
|
|
showLink: false,
|
|
rank: 101
|
|
}
|
|
},
|
|
{
|
|
path: "/redirect",
|
|
component: Layout,
|
|
meta: {
|
|
icon: "home-filled",
|
|
title: $t("menus.hshome"),
|
|
showLink: false,
|
|
rank: 104
|
|
},
|
|
children: [
|
|
{
|
|
path: "/redirect/:path(.*)",
|
|
name: "Redirect",
|
|
component: () => import("@/layout/redirect.vue")
|
|
}
|
|
]
|
|
}
|
|
];
|
|
|
|
export default remainingRouter;
|