2022-03-14 14:49:02 +08:00

37 lines
710 B
TypeScript

import { $t } from "/@/plugins/i18n";
const Layout = () => import("/@/layout/index.vue");
const remainingRouter = [
{
path: "/login",
name: "login",
component: () => import("/@/views/login.vue"),
meta: {
title: $t("menus.hslogin"),
showLink: false,
i18n: true,
rank: 101
}
},
{
path: "/redirect",
component: Layout,
meta: {
icon: "home-filled",
title: $t("menus.hshome"),
i18n: true,
showLink: false,
rank: 104
},
children: [
{
path: "/redirect/:path(.*)",
name: "redirect",
component: () => import("/@/layout/redirect.vue")
}
]
}
];
export default remainingRouter;