vue-element-admin The current route index of Navbar and SideBar are match

xxb16uws  于 22天前  发布在  其他
关注(0)|答案(3)|浏览(18)

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(截图或动态图)
Other relevant information(格外信息)
  • Your OS:
  • Node.js version:
  • vue-element-admin version:
ahy6op9u

ahy6op9u1#

I don't quite understand what your problem is?

bfnvny8b

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"

tcbh2hod

tcbh2hod3#

Is there any example that can be reproduced online? I can't reproduce your problem here.

相关问题