我从/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",
}
]
添加回答
举报
0/150
提交
取消