<Select mode="multiple"
allowClear
placeholder="请选择摄像头"
options={cameraConfigInfoList.map((item: any) => {
return { value: item.id, label: item.name }
})}
filterOption={(input, option) => {
console.log((option?.label ?? '').includes(input));
return (option?.label ?? '').includes(input);
}}
/>
antd中下拉选模糊查询
最新推荐文章于 2024-02-05 16:28:54 发布