mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 10:33:50 +08:00
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
Block a user