mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-22 13:36:23 +08:00
22 lines
377 B
TypeScript
22 lines
377 B
TypeScript
// 右键枚举
|
|
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
|
|
} |