The problem when vue Road returns

 
 /audit ==> /auditlist
 $router.back(-1)  / 
 
 routes: [
    {
      path: "",
      component: Home,
      children: [
        {
          path: "/",
          component: Explorer,
          name: "Explorer"
        },
        {
          path: "/audit",
          component: Audit,
          name: "Audit",
        },
        {
          path: "/auditlist",
          component: AuditList,
          name: "AuditList"
        },
      ]
    },
    {
      path:"/login",
      component: Login,
      name: "Login",
    }
  ]
Oct.09,2021

how do you jump when you jump


it depends on your click history.
normally, window.history.length is used to determine whether there is a higher level
if not, then the home page is directly

.
Menu