Vanessa 2023-07-10 19:02:59 +08:00
parent 96e7044baf
commit dd894b0457
5 changed files with 124 additions and 20 deletions

View file

@ -797,7 +797,7 @@ interface IModels {
interface IMenu {
label?: string,
click?: (element: HTMLElement) => void,
click?: (element: HTMLElement) => boolean | void | Promise<boolean | void>
type?: "separator" | "submenu" | "readonly",
accelerator?: string,
action?: string,
@ -892,7 +892,7 @@ interface IAVCell {
value: {
[key in TAVCol]?: IAVCellValue
} & {
mSelect?: {content: string, color: string}[]
mSelect?: { content: string, color: string }[]
},
valueType: TAVCol,
}