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 { able } from "@/router/enums";
const ableRouter: RouteConfigsTable = {
export default {
path: "/able",
redirect: "/able/watermark",
meta: {
icon: "ubuntu-fill",
title: $t("menus.hsAble"),
rank: 5
rank: able
},
children: [
{
@@ -163,6 +163,4 @@ const ableRouter: RouteConfigsTable = {
}
}
]
};
export default ableRouter;
} as RouteConfigsTable;