Ver código fonte

[webapp] 监控详情页面标题

tomsun28 4 anos atrás
pai
commit
a8ad5d6b4d

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

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