src/app/routes/routes-routing.module.ts @@ -43,7 +43,8 @@ }, // passport { path: 'report', component: ReportComponent component: ReportComponent, data:{title:'对比报表'} }, { path: '**', redirectTo: 'passport/login' } ];