From cde5a7fa932e7e152cd4acdb3577a2f5d14fea7b Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Wed, 20 Dec 2017 14:52:07 +0800 Subject: [PATCH] updates --- src/app/routes/routes.ts | 14 +++----------- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/src/app/routes/routes.ts b/src/app/routes/routes.ts index 0ece7a8..f5f7144 100644 --- a/src/app/routes/routes.ts +++ b/src/app/routes/routes.ts @@ -10,26 +10,18 @@ path: '', component: LayoutComponent, children: [ - { path: '', redirectTo: 'dashboard/v1', pathMatch: 'full' }, + { path: '', redirectTo: 'dashboard/analysis', pathMatch: 'full' }, { path: 'dashboard', redirectTo: 'dashboard/v1', pathMatch: 'full' }, - { 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: '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: 'data-v', - component: LayoutFullScreenComponent, - children: [ - { path: '', loadChildren: './data-v/data-v.module#DataVModule' } ] }, { path: '**', redirectTo: 'dashboard' } -- Gitblit v1.8.0