You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
661 B
32 lines
661 B
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: $t("menus.hslogin"),
|
|
showLink: false,
|
|
rank: 101
|
|
}
|
|
},
|
|
{
|
|
path: "/redirect",
|
|
component: Layout,
|
|
meta: {
|
|
icon: "homeFilled",
|
|
title: $t("menus.hshome"),
|
|
showLink: false,
|
|
rank: 102
|
|
},
|
|
children: [
|
|
{
|
|
path: "/redirect/:path(.*)",
|
|
name: "Redirect",
|
|
component: () => import("@/layout/redirect.vue")
|
|
}
|
|
]
|
|
}
|
|
] as Array<RouteConfigsTable>;
|