Question(提问)
When clicking the menu switch, there is a certain probability that the menus of Navbar and SideBar are inconsistent,The selected state of Sidebar (Element Menu) stays at the last selection.Do you have any good suggestions(https://s3dup.sse.codesandbox.io/#/charts/mix-chart is normal). Thanks
Steps to reproduce(问题复现步骤)
Screenshot or Gif(截图或动态图)
Link to minimal reproduction(最小可在线还原demo)
Other relevant information(格外信息)
- Your OS:
- Node.js version:
- vue-element-admin version:
3条答案
按热度按时间ahy6op9u1#
I don't quite understand what your problem is?
bfnvny8b2#
Now suppose that there are three menu items "a", "b" and "c". Normally, when you click on the menus "a", "b" and "c", it will be highlighted. But occasionally click "b" without highlighting "b", the highlighted menu is the last click of "a"
tcbh2hod3#
Is there any example that can be reproduced online? I can't reproduce your problem here.