xframelib
Version:
The accumulated front-end development foundation library originates from projects and serves projects.
28 lines (27 loc) • 505 B
TypeScript
/**
* 菜单对象的枚举类型
*/
export declare enum MenuItemEnum {
Widget = 0,
Route = 1,
URL = 2,
Action = 3
}
export interface IWidgetMenu {
name: string;
index?: number;
icon?: string;
path?: string;
type?: MenuItemEnum;
blank?: boolean;
selected?: boolean;
children?: Array<IWidgetMenu>;
hidden?: boolean;
group?: string;
unload?: boolean;
tag?: object;
/**
* 其他扩展的Key属性
*/
[props: string]: any;
}