瀏覽代碼

[webapp] 监控详情页面标题

tomsun28 4 年之前
父節點
當前提交
a8ad5d6b4d
共有 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 }
 ];