From 4a4c7f1db802b8e316c4c72ba59f69c3f8f8281c Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Mon, 29 Jan 2018 15:24:08 +0800 Subject: [PATCH] 去除mock前保存 --- src/app/routes/routes-routing.module.ts | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/app/routes/routes-routing.module.ts b/src/app/routes/routes-routing.module.ts index 891e3f5..918d7de 100644 --- a/src/app/routes/routes-routing.module.ts +++ b/src/app/routes/routes-routing.module.ts @@ -10,6 +10,7 @@ import { DashboardAnalysisComponent } from './dashboard/analysis/analysis.component'; import { DashboardMonitorComponent } from './dashboard/monitor/monitor.component'; import { DashboardWorkplaceComponent } from './dashboard/workplace/workplace.component'; +import { UserLoginComponent } from 'app/routes/passport/login/login.component'; const routes: Routes = [ @@ -29,6 +30,13 @@ { path: 'sensors', loadChildren: './sensors/sensors.module#SensorsModule' }, { path: 'systems', loadChildren: './systems/systems.module#SystemsModule' }, ] + }, // passport + { + path: 'passport', + component: LayoutPassportComponent, + children: [ + { path: 'login', component: UserLoginComponent } + ] }, { path: '**', redirectTo: 'dashboard' } ]; -- Gitblit v1.8.0