|
@@ -4,11 +4,14 @@ import {ModuleDashboardComponent} from './module/module-dashboard/module-dashboa
|
|
|
import {ModuleUserComponent} from './module/module-user/module-user.component';
|
|
|
import {ModuleSettingComponent} from './module/module-setting/module-setting.component';
|
|
|
import {ModuleReportComponent} from './module/module-report/module-report.component';
|
|
|
+import {UserListComponent} from './module/module-user/user-list/user-list.component';
|
|
|
|
|
|
const router:Routes = [
|
|
|
{path:"",redirectTo:"dashboard",pathMatch:"full"},
|
|
|
{path:"dashboard",component:ModuleDashboardComponent},
|
|
|
- {path:"user",component:ModuleUserComponent},
|
|
|
+ {path:"user",component:ModuleUserComponent, children:[
|
|
|
+ {path:"",component:UserListComponent}
|
|
|
+ ]},
|
|
|
{path:"setting",component:ModuleSettingComponent},
|
|
|
{path:"report",component:ModuleReportComponent}
|
|
|
]
|