From 1f098d69fd6d67da3a688b9d598f486e56b7eecd Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Tue, 19 Dec 2017 09:01:52 +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