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