mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-06 03:58:04 +08:00
24 lines
419 B
TypeScript
24 lines
419 B
TypeScript
// 右键枚举
|
|
export enum MenuEnum {
|
|
DELETE = 'delete',
|
|
COPY = 'copy',
|
|
CUT = 'cut',
|
|
PARSE = 'parse',
|
|
TOP = 'top',
|
|
BOTTOM = 'bottom',
|
|
UP = 'up',
|
|
DOWN = 'down',
|
|
CLEAR = 'clear',
|
|
GROUP = 'group',
|
|
UN_GROUP = 'unGroup'
|
|
}
|
|
|
|
export interface MenuOptionsItemType {
|
|
type?: string
|
|
label?: string
|
|
key: MenuEnum | string
|
|
icon?: Function
|
|
fnHandle?: Function
|
|
disabled?: boolean
|
|
hidden?: boolean
|
|
} |