export default new Router({
routes: [{
path: "/",
name: "index",
redirect: "/login"
},
{
path: "/operator",
name: "operator",
component: Index,
meta: {
title: ""
},
children: [{
path: "default",
component: (resolve) => {
require(["../view/operator/index"], resolve)
},
alias: "/operator",
meta: {
title: ""
}
},
{
path: "newlist",
component: candidatelist,
name: "newlist",
meta: {
title: ""
},
children:[
{
path: "/operator/newlist/candidatedetail/:id",
component: candidatedetail,
name: "candidatedetail",
meta: {
title: "
}
},
]
}
]
}
})
Child routes nest child routes. For the details below the
list, what should I do if I want to display the list on the same page as the list?
shows