Files
map-screen/src/module/menu.ts
2026-01-26 14:37:40 +08:00

40 lines
595 B
TypeScript

export interface MenuType {
name: string,
title: string,
icon: string,
type: string,
children: MenuType[],
open: boolean,
[key: string]: any
}
export enum Language {
zh = 'zh', // 中文
en = 'en' // 英文
}
export interface DialogConfig {
show: boolean
template: string,
width: string,
height: string,
who: string
header: {
title: string,
hasIcon: boolean,
iconSrc: string,
hasMin: boolean,
hasMax: boolean
},
position: {
top: string,
left: string
}
}
export interface DialogAllConfig {
dialog: DialogConfig,
info: any
}