Home > front end >  Element - highlighted after the UI navigation menu refresh and routing orientation to the last choic
Element - highlighted after the UI navigation menu refresh and routing orientation to the last choic

Time:11-17

Element - highlighted after the UI navigation menu refresh and routing selection state orientation to the last memories solve

Idea: according to the element's website navigation menu API, defined highlight: default - active=". $route path, "menu bar index corresponding to the path, as shown in figure:





CodePudding user response:

Additional load for the first time a bug problem: if the routing set with multiword routing, the parent of the routing is overmuch, at the same level for the first time when load set redirect navigation
  • Related