参考: https://www.jianshu.com/p/2b4bba4cdca4

 

 

         <Select labelInValue onChange={value => loadRemotes(value)}  showSearch  filterOption={(input, option) =>
                  option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0
                }>
                  {brands &&
                    brands.map(item => (
                      <Option key={item.brandId}>
                        {item.brandName}
                      </Option>
                    ))}
                </Select>

 

相关文章:

  • 2022-12-23
  • 2021-12-22
  • 2021-11-03
  • 2021-11-21
猜你喜欢
  • 2022-12-23
  • 2022-02-24
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2021-12-08
  • 2021-07-24
相关资源
相似解决方案