From d08dcd3fe4121d26663dbbee02f3d9e29f8a6be7 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Tue, 17 Apr 2018 13:24:32 +0800 Subject: [PATCH] Property 'i' does not exist on type 'OrganizationConfigComponent'. --- src/app/routes/routes-routing.module.ts | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/app/routes/routes-routing.module.ts b/src/app/routes/routes-routing.module.ts index 44cc309..f4719f0 100644 --- a/src/app/routes/routes-routing.module.ts +++ b/src/app/routes/routes-routing.module.ts @@ -19,19 +19,17 @@ path: '', component: LayoutDefaultComponent, children: [ - { path: '', redirectTo: 'dashboard/v1', pathMatch: 'full' }, + { path: '', redirectTo: 'dashboard/workplace', pathMatch: 'full' }, { path: 'dashboard', redirectTo: 'dashboard/v1', pathMatch: 'full' }, { path: 'dashboard/v1', component: DashboardV1Component, data: { translate: 'dashboard_v1' } }, { path: 'dashboard/analysis', component: DashboardAnalysisComponent, data: { translate: 'dashboard_analysis' } }, { path: 'dashboard/monitor', component: DashboardMonitorComponent, data: { translate: 'dashboard_monitor' } }, { path: 'dashboard/workplace', component: DashboardWorkplaceComponent, data: { translate: 'dashboard_workplace' } }, - { path: 'users', loadChildren: './users/users.module#UsersModule' }, { path: 'devices', loadChildren: './devices/devices.module#DevicesModule' }, { path: 'sensors', loadChildren: './sensors/sensors.module#SensorsModule' }, { path: 'systems', loadChildren: './systems/systems.module#SystemsModule' }, - { path: 'reports', loadChildren: './reports/reports.module#ReportsModule' }, - { path: 'analysis', loadChildren: './analysis/analysis.module#AnalysisModule' }, + { path: 'reports', loadChildren: './reports/reports.module#ReportsModule' } ] }, // passport { @@ -43,7 +41,8 @@ }, // passport { path: 'report', - component: ReportComponent + component: ReportComponent, + data: {title: '������������'} }, { path: '**', redirectTo: 'passport/login' } ]; -- Gitblit v1.8.0