fix: 分组切换

This commit is contained in:
zwjamnsss 2017-07-19 11:09:21 +08:00
parent 7c75baa27e
commit 8945e71308

View File

@ -122,11 +122,11 @@ export default class GroupList extends Component {
className="group-list" className="group-list"
mode="inline" mode="inline"
onClick={this.selectGroup} onClick={this.selectGroup}
selectedKeys={[currGroup._id]} selectedKeys={[`${currGroup._id}`]}
> >
{ {
groupList.map((group) => ( groupList.map((group) => (
<Menu.Item key={group._id} className="group-item"> <Menu.Item key={`${group._id}`} className="group-item">
<Icon type="folder-open" />{group.group_name} <Icon type="folder-open" />{group.group_name}
</Menu.Item> </Menu.Item>
)) ))