Multiple selection of ant design drop-down box has no effect

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>

The multiple attribute is no longer supported after version 2.9. Read the document api

carefully
<Select
    mode='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>
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e71cbf-386.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e71cbf-386.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?