Browse Source

fix(Tree): beforeRightClick type (#2968)

pull/2971/head
Li Kui 3 years ago
committed by GitHub
parent
commit
2c74e790cb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/components/Tree/src/types/tree.ts

2
src/components/Tree/src/types/tree.ts

@ -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…
Cancel
Save