Commit 9308fabe763bcc7f44d7c587d30781fd74d46b20

Authored by jiangwei
1 parent 26e33634

选择框fix

src/pages/pms/comonents/PmsSelect.tsx
@@ -7,8 +7,7 @@ export default function Index(props: SelectProps) { @@ -7,8 +7,7 @@ export default function Index(props: SelectProps) {
7 <Select 7 <Select
8 {...props} 8 {...props}
9 showSearch 9 showSearch
10 - // optionFilterProp="children"  
11 - filterOption={(input: any, option: any) => option.children.toLowerCase().indexOf(input.toLowerCase()) >= 0} 10 + optionFilterProp="label"
12 /> 11 />
13 ); 12 );
14 } 13 }
15 \ No newline at end of file 14 \ No newline at end of file