Преглед изворни кода

[webapp] 监控详情页面标题

tomsun28 пре 4 година
родитељ
комит
251c4aaedb
1 измењених фајлова са 1 додато и 1 уклоњено
  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: 'new', component: MonitorNewComponent },
   { path: ':monitorId/edit', component: MonitorEditComponent },
-  { path: ':monitorId', component: MonitorDetailComponent },
+  { path: ':monitorId', component: MonitorDetailComponent, data: { title: '监控详情' } },
   { path: '**', component: MonitorListComponent }
 ];