in my routes.js
:
...
children: [
{
path: "a",
name: "a",
title:"a",
component: (resolve) => require(["./views/a/a.vue"], resolve)
},
{
path: "b",
name: "b",
title:"b",
component: (resolve) => require(["./views/b/b.vue"], resolve),
children: [
{
path: "c",
name: "c",
title:"c",
component: (resolve) => require(["./views/b/ccc.vue"], resolve)
},
]
},
...
when I enter path: "b"
, I want to jump to path: "c"
by default. How can this be realized? How do I need to configure it?
if I don"t want to go through redirect:"/b/c"
this way, because there are too many nesting layers.