I went from / audit = > / auditlist
but from / auditlist $router.back (- 1) to the default home page. What"s wrong with it
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",
}
]