hb0730 aa8005a982
feat(i18n): 菜单动态支持i18n (#109)
* feat(i18n): 菜单动态支持i18n
2021-11-15 16:45:09 +08:00

37 lines
678 B
TypeScript

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