routes: [
{ path: '/', redirect: '/discover' },
{
path: '/discover', component: Discover,
children: [
{ path: 'toplist', component: MyToplist },
{ path: 'playlist', component: MyPlayList }
]
},
{ path: '/friends', component: Friends },
{ path: '/my', component: My },
]
子路由前面不用加斜线
1091

被折叠的 条评论
为什么被折叠?



