<Select showSearch onChange={onChangeManufacture} style={{ width: '200px' }} placeholder="请选择生产单号" optionFilterProp="children" filterOption={(input, option) => (option?.label ?? '').includes(input)} filterSort={(optionA, optionB) => (optionA?.label ?? '').toLowerCase().localeCompare((optionB?.label ?? '').toLowerCase()) } options={roleList} > </Select>