项目初始化

This commit is contained in:
xwj
2026-01-26 14:37:40 +08:00
commit 6a23132628
464 changed files with 35252 additions and 0 deletions

39
src/module/menu.ts Normal file
View File

@@ -0,0 +1,39 @@
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
}