Explorar o código

[webapp] 监控详情页面标题

tomsun28 %!s(int64=4) %!d(string=hai) anos
pai
achega
a8ad5d6b4d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      web-app/src/app/routes/monitor/monitor-routing.module.ts

+ 1 - 1
web-app/src/app/routes/monitor/monitor-routing.module.ts

@@ -10,7 +10,7 @@ const routes: Routes = [
   { path: '', component: MonitorListComponent },
   { path: '', component: MonitorListComponent },
   { path: 'new', component: MonitorNewComponent },
   { path: 'new', component: MonitorNewComponent },
   { path: ':monitorId/edit', component: MonitorEditComponent },
   { path: ':monitorId/edit', component: MonitorEditComponent },
-  { path: ':monitorId', component: MonitorDetailComponent },
+  { path: ':monitorId', component: MonitorDetailComponent, data: { title: '监控详情' } },
   { path: '**', component: MonitorListComponent }
   { path: '**', component: MonitorListComponent }
 ];
 ];