-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
1.4.10
Environment
Mac OS 10.15.2 , Chrome 79.0.3945.88, Vue 2.6.11
Reproduction link
about:blank
Steps to reproduce
如果给menu设置了selectedKeys和openKeys属性值,当menu变成折叠状态时,会弹出二级菜单。
如果不设置这两个属性值,只设置defaultSelectedKeys和defaultOpenKeys属性值,在非折叠状态下又不能控制菜单的自动展开状态。
What is expected?
defaultSelectedKeys和defaultOpenKeys可以跟selectedKeys和openKeys合并,或者openKeys在menu是折叠状态下不要起作用。
抱歉codesandbox.io好像出问题了,点开后提示缺少依赖,所以没有提供重现链接。