Explorar el Código

[webapp] 监控详情页面标题

tomsun28 hace 4 años
padre
commit
a8ad5d6b4d
Se han modificado 1 ficheros con 1 adiciones y 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: 'new', component: MonitorNewComponent },
   { path: ':monitorId/edit', component: MonitorEditComponent },
-  { path: ':monitorId', component: MonitorDetailComponent },
+  { path: ':monitorId', component: MonitorDetailComponent, data: { title: '监控详情' } },
   { path: '**', component: MonitorListComponent }
 ];