flat:初始化

This commit is contained in:
史典卓
2024-11-18 16:38:38 +08:00
commit 903776f4b9
242 changed files with 24577 additions and 0 deletions

18
types/route.d.ts vendored Normal file
View File

@@ -0,0 +1,18 @@
declare namespace API {
type RoutersMenuItem = {
alwaysShow?: boolean;
children?: RoutersMenuItem[];
component?: string;
hidden?: boolean;
meta: MenuItemMeta;
name: string;
path: string;
redirect?: string;
[key: string]: any;
};
interface GetRoutersResult {
code: number;
msg: string;
data: RoutersMenuItem[];
}
}