From 1ae94f8394e2082e36a1f08ceb95b4bf036248b5 Mon Sep 17 00:00:00 2001 From: lvisei Date: Wed, 20 Sep 2023 14:36:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E7=AD=9B=E9=80=89?= =?UTF-8?q?=E5=99=A8=E9=81=AE=E6=8C=A1=E9=97=AE=E9=A2=98=20(#36)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/li-p2/src/components/Filter/FilterItem/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/li-p2/src/components/Filter/FilterItem/index.tsx b/packages/li-p2/src/components/Filter/FilterItem/index.tsx index c49fd7b2..601a86d2 100644 --- a/packages/li-p2/src/components/Filter/FilterItem/index.tsx +++ b/packages/li-p2/src/components/Filter/FilterItem/index.tsx @@ -115,6 +115,7 @@ export const FilterItem = (props: FilterItemProps) => { placeholder="请选择筛选字段" value={field} options={fieldOptions} + popupMatchSelectWidth={false} filterOption={(input, option) => (option?.title ?? '').includes(input)} onChange={(val: string) => onFieldChange(val)} />