diff --git a/components/tree-select/interface.tsx b/components/tree-select/interface.tsx index ef44e298bf..7b54a849e2 100644 --- a/components/tree-select/interface.tsx +++ b/components/tree-select/interface.tsx @@ -34,7 +34,7 @@ export interface TreeSelectProps extends AbstractSelectProps { defaultValue?: string | number | Array; dropdownStyle?: React.CSSProperties; filterTreeNode?: (inputValue: string, treeNode: any) => boolean | boolean; - getPopupContainer?: (triggerNode: Element) => HTMLElement; + getPopupContainer?: (triggerNode?: Element) => HTMLElement; labelInValue?: boolean; loadData?: (node: any) => void; maxTagCount?: number;