use the drop-down box of React"s ant design, and ask for help on how to solve the problem according to the fact that there is no multiple selection in the doc, on the official website.
<Select
    multiple
    showSearch
    onSelect={(val,e) => this.setState({xyCode:e.props.code})}
    onSearch={val => this.getXY(val)}
>
    {this.state.xyData.map(d => <Option code={d.departmentNumber} key={d.departmentName}>{d.departmentName}</Option>)}
</Select>