Skip to content

Commit

Permalink
Merge pull request #1672 from XiaoMi/hotfix/#1648-v3
Browse files Browse the repository at this point in the history
fix: #1648
  • Loading branch information
GleanCoder1116 committed Apr 8, 2021
2 parents 724f91f + a8ddb1b commit c51cecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- 优化 `Tabs` 组件 在 type 为 editable 时右上角的加号的显示隐藏随 onAdd 方法自动显示隐藏 [#1662](https://github.com/XiaoMi/hiui/issues/1662)
- 修复 `Select` 组件在分组形态下,搜索功能无效 [#1655](https://github.com/XiaoMi/hiui/issues/1655)
- 修复 `DatePicker` type 为 daterange 时,且 showTime 为 true 选择时间显示异常 [#1640](https://github.com/XiaoMi/hiui/issues/1640)
- 修复 `<Cascader />` id 为 Number 类型时导致节点重复添加问题[#1648](https://github.com/XiaoMi/hiui/issues/1648)

## 3.5.0

Expand Down
2 changes: 1 addition & 1 deletion components/cascader/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const Menu = forwardRef(
currentDeep.current = _deep
}
}}
key={optionValue + index}
key={optionValue + option[labelKey]}
>
<span className={classNames(`hi-cascader-menu__item--label`)}>
{isFiltered && option.hightlight
Expand Down

0 comments on commit c51cecc

Please sign in to comment.