angular 路由地址栏变化,页面内容却没变 刚刚从组件写到路由,原来没有变化的原因是 app.component.html中我写的还是组件的名称 改为 <router-outlet></router-outlet> 即可