From 0e1e92f2e14b07942f2d8c21b4d96468322aecfe Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Tue, 19 Dec 2017 10:00:41 +0800 Subject: [PATCH] updates --- src/app/routes/routes.ts | 11 +---------- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/src/app/routes/routes.ts b/src/app/routes/routes.ts index 0ece7a8..cbcc97c 100644 --- a/src/app/routes/routes.ts +++ b/src/app/routes/routes.ts @@ -13,23 +13,14 @@ { path: '', redirectTo: 'dashboard/v1', 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: '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