[BUG] <Nav 组件 itemKey 属性为 number 类型时无法展开> #2316
Labels
bug
Something isn't working
document
Improvements or additions to documentation
good first issue
Good for newcomers
PR Welcome
Welcome pull request :)
Is there an existing issue for this?
Which Component
Navigation
Semi Version
2.60.1
Current Behavior
点击
任务平台
,导航不会展开,React DevTools 中openedKeys
为[2]
,数据正常,渲染不正常,更换 itemKey 为数字字符串后渲染正常Expected Behavior
itemKey 为数字或字符串时,点击
任务平台
,导航正常展开,React DevTools 中openedKeys
为[2]
,数据正常,渲染正常。Steps To Reproduce
访问 Navigation,在基本使用的代码框中,修改
items
对象中的itemKey
属性为数字即可复现。ReproducibleCode
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: