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 7 <Select
8 8 {...props}
9 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 14 \ No newline at end of file
... ...