嵌套路由
jsx
{
path: '/路由规则/:id',
name: '路由名字',
component: 路由对应的组件,
children:[
{
path:'',
name:'',
component:''
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12