mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-27 15:50:17 +08:00
feat(projects): 面包屑
This commit is contained in:
@@ -1,7 +1,18 @@
|
||||
import type { MenuOption } from 'naive-ui';
|
||||
import type { MenuOption, DropdownOption } from 'naive-ui';
|
||||
|
||||
/** 菜单项配置 */
|
||||
export type GlobalMenuOption = MenuOption & {
|
||||
routeName: string;
|
||||
routePath: string;
|
||||
};
|
||||
|
||||
/** 面包屑 */
|
||||
export type GlobalBreadcrumb = DropdownOption & {
|
||||
key: string;
|
||||
label: string;
|
||||
disabled: boolean;
|
||||
routeName: string;
|
||||
hasChildren: boolean;
|
||||
iconName?: string;
|
||||
children?: GlobalBreadcrumb[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user