As shown in the picture above:
app.js configures the routing of menu navigation
The left menu uses two levels of no-repeat to implement menu display.
The desired result, the menu navigation is associated with the navigation path on the right and displayed simultaneously.
Click a link in the menu management and the navigation path will be displayed simultaneously.
習慣沉默2017-05-15 17:02:10
Each record in the left navigation corresponds to a URL. When routing, you can use url?id=args to pass parameters, and then manage the path according to the parameters