// main.component.html
<div id="main"> <router-outlet></router-outlet> <router-outlet name="pagesoutlet"></router-outlet> <router-outlet name="aux"></router-outlet></div>this.router.navigate([{ outlets: { pagesoutlet: ['A'], aux: ['aux']} }] this.router.navigate([{ outlets: { pagesoutlet: ['B']} }]
我加载B画面的时候为什么也会把辅助路由的内容加载进去?
RISEBY
相关分类