fix: dropdown menu log warning, close #5127

pull/5147/head
tangjinzhou 2022-01-06 09:54:27 +08:00
parent 81ab68f696
commit 3e8959ad22
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ export const menuProps = {
onOpenChange: Function as PropType<(keys: Key[]) => void>,
onSelect: Function as PropType<SelectEventHandler>,
onDeselect: Function as PropType<SelectEventHandler>,
onClick: Function as PropType<MenuClickEventHandler>,
onClick: [Function, Array] as PropType<MenuClickEventHandler>,
onFocus: Function as PropType<FocusEventHandler>,
onBlur: Function as PropType<FocusEventHandler>,
'onUpdate:openKeys': Function as PropType<(keys: Key[]) => void>,