From aee3b7ea53df69cedae9e8210987000caf059c9f Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Wed, 14 Mar 2018 13:25:05 +0800 Subject: [PATCH] query.html修复 --- src/app/routes/routes-routing.module.ts | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/app/routes/routes-routing.module.ts b/src/app/routes/routes-routing.module.ts index a1d33a5..348be0f 100644 --- a/src/app/routes/routes-routing.module.ts +++ b/src/app/routes/routes-routing.module.ts @@ -20,7 +20,10 @@ component: LayoutDefaultComponent, children: [ { path: '', redirectTo: 'dashboard/workplace', pathMatch: 'full' }, - { path: 'dashboard', 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' }, -- Gitblit v1.8.0