fix:修改右键逻辑

This commit is contained in:
mtrun
2022-03-28 17:17:44 +08:00
parent cd360a1833
commit 851a4d58ec
6 changed files with 92 additions and 64 deletions
+22
View File
@@ -0,0 +1,22 @@
// 右键枚举
export enum MenuEnum {
DELETE = 'delete',
COPY = 'copy',
CUT = 'cut',
PARSE = 'parse',
TOP = 'top',
BOTTOM = 'bottom',
UP = 'up',
DOWN = 'down',
CLEAR = 'clear',
}
export interface MenuOptionsItemType {
type?: string
label?: string
key: MenuEnum | string
icon?: Function
fnHandle?: Function
disabled?: boolean
hidden?: boolean
}