fix(Tree): beforeRightClick type (#2968)
This commit is contained in:
parent
b660f96220
commit
2c74e790cb
|
|
@ -105,7 +105,7 @@ export const treeProps = buildProps({
|
|||
},
|
||||
|
||||
beforeRightClick: {
|
||||
type: Function as PropType<(...arg: any) => ContextMenuItem[] | ContextMenuOptions>,
|
||||
type: Function as PropType<(...arg: any) => Promise<ContextMenuItem[] | ContextMenuOptions>>,
|
||||
default: undefined,
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue