chore: header menu 初步

This commit is contained in:
xiaojunnuo
2024-10-25 23:56:24 +08:00
parent c4164c66e2
commit a7414047ee
9 changed files with 221 additions and 5 deletions

View File

@@ -102,3 +102,20 @@ export class SysSiteEnv {
contactLink?: string;
};
}
export type MenuItem = {
id: string;
title: string;
icon: string;
link: string;
auth: boolean;
permission?: string;
children?: MenuItem[];
};
export class SysHeaderMenus extends BaseSettings {
static __title__ = '顶部菜单';
static __key__ = 'sys.header.menus';
static __access__ = 'public';
menus: MenuItem[];
}