我想将空字符串重定向到下面的三个出口。通常情况下,如果我想重新定位以牛群为例,我会把它放在那里。有没有明显的方法可以做到这一点,我没有看到?
const routes: Routes = [
{
path: '',
redirectTo: '',
pathMatch: 'full'
},
{
path: 'cow-group',
component: GroupSelector,
outlet: 'comp1'
},
{
path: 'cow-group',
component: TraitSelector,
outlet: 'comp2'
},
{
path:
'cow-group',
component: CowTable,
outlet: 'comp3'
}
];