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