perf: 更完善的全局类型提示

This commit is contained in:
RealityBoy
2022-11-25 12:49:38 +08:00
committed by GitHub
parent ecba3c2e7f
commit 301356ebd7
44 changed files with 725 additions and 364 deletions

View File

@@ -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;