-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
展开/隐藏左侧导航栏时保持多级导航栏选项的状态 #243
Comments
已向 |
请问这个问题处理了嘛,开发中也遇到这个问题了 |
还是open状态啊 |
@fantasy525 欢迎pr |
@fantasy525 我想了一下你这样做还是有问题的,当前路由不代表是之前打开多级的路由。所以并不能解决问题。 |
额之前打开的多级路由的地址跟多级菜单的index是一一对应也会有问题?不是很理解这句话(当前路由不代表是之前打开多级的路由)@PanJiaChen |
比如我现在在首页 但我侧边栏打开了excel这个多级路由 ,这种情况不能回复侧边栏关闭之前的状态。 |
额,那你们给出个合适的解决方案吧 |
menu 里面的openedMenus 可以设置 打开项 , 收缩前先记录所有打开列表,再赋值给openedMenus 就可以打开之前的所有列表 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
操作步骤:
期望结果:
左侧导航栏保持之前选择某个多级导航栏选项的状态及样式
现在的结果:
重新展开左侧导航栏时,多级导航栏全部处于折叠状态
The text was updated successfully, but these errors were encountered: