[web-app] 告警配置列表信息展示
This commit is contained in:
19
web-app/src/app/routes/alert/alert-routing.module.ts
Normal file
19
web-app/src/app/routes/alert/alert-routing.module.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import {AlertCenterComponent} from "./alert-center/alert-center.component";
|
||||
import {AlertSettingComponent} from "./alert-setting/alert-setting.component";
|
||||
import {AlertNoticeComponent} from "./alert-notice/alert-notice.component";
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: '', component: AlertCenterComponent },
|
||||
{ path: 'center', component: AlertCenterComponent },
|
||||
{ path: 'setting', component: AlertSettingComponent },
|
||||
{ path: 'notice', component: AlertNoticeComponent },
|
||||
{ path: '**', component: AlertCenterComponent }
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class AlertRoutingModule { }
|
||||
Reference in New Issue
Block a user