##组件配置
<WrcSearch list={this.state.cities.hotCityList} searchData={searchData} /> // 搜索的字段名 const searchData = { chinese: 'cityName', letter: '', code: 'cityCode' }
- searchData中value值为搜索字段,为空则不进行搜索
- list为搜索的数据
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Latest commit | ||||
前端搜索(中文,数字,英文)