--- order: 5 title: 分组 --- 用 `OptGroup` 进行选项分组。 ````jsx import { Select } from 'antd'; const Option = Select.Option; const OptGroup = Select.OptGroup; function handleChange(value) { console.log(`selected ${value}`); } ReactDOM.render( , mountNode); ````