mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-03 13:44:47 +08:00
perf: 更完善的全局类型提示
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import { $t } from "@/plugins/i18n";
|
||||
import type { RouteConfigsTable } from "/#/index";
|
||||
import { components } from "@/router/enums";
|
||||
|
||||
const componentsRouter: RouteConfigsTable = {
|
||||
export default {
|
||||
path: "/components",
|
||||
redirect: "/components/video",
|
||||
meta: {
|
||||
icon: "menu",
|
||||
title: $t("menus.hscomponents"),
|
||||
rank: 6
|
||||
rank: components
|
||||
},
|
||||
children: [
|
||||
{
|
||||
@@ -127,6 +127,4 @@ const componentsRouter: RouteConfigsTable = {
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default componentsRouter;
|
||||
} as RouteConfigsTable;
|
||||
|
||||
Reference in New Issue
Block a user