/** * @desc 下拉筛选框 * @param queryList?: { label: string, // 搜索项文字 key: string | number, // 搜索项 key 值 }[] * @param onChange?: (val: any, option: any) => void; 返回val:`${搜索项key值}_${搜索内容}` * */ import React from 'react'; type Props = { placeholder?: string; queryList?: { label: string; key: string; title?: string; }[]; split?: string; onChange?: (changedValue: any, option: any) => void; setInfo?: (...rest: any) => any; value?: string; selectQueryStyle?: React.CSSProperties; [key: string]: any; }; declare class UnitSearch extends React.Component { static defaultProps: { queryList: any[]; split: string; }; constructor(props: Props); handleChange: (val: any, option: any) => void; triggerChange: (changedValue: any, option: any) => void; changeQuery: (data: any) => void; clear: () => void; dealFocus: () => void; render(): JSX.Element; } export default UnitSearch;