From 655edbc7405188c4bb32e63bf52a9a31ac00d75c Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Thu, 12 Jul 2018 10:26:45 +0800
Subject: [PATCH] home-page
---
src/app/routes/routes.ts | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/app/routes/routes.ts b/src/app/routes/routes.ts
index 8bfbb54..53cb27a 100644
--- a/src/app/routes/routes.ts
+++ b/src/app/routes/routes.ts
@@ -23,7 +23,11 @@
path: '',
component: LayoutComponent,
children: [
- { path: '', redirectTo: 'dashboard/v1', pathMatch: 'full' },
+ { path: "", redirectTo: "home-page", pathMatch: "full" },
+ {
+ path: "home-page",
+ loadChildren: "./home-page/home-page.module#HomePageModule"
+ },
{ 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' } },
--
Gitblit v1.8.0