mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix:修改右键逻辑
This commit is contained in:
+22
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user