vue NavigationDuplicated: Avoided redundant navigation to current location: "/template"
Reason for error:
The route is set as a sub-route, and the page jumps directly in the page.
In fact, it is a low-level error. To jump to the child route, the parent page should write <router-view>