From a6f13c11e914dd7f249e40758efdec91bb0939ed Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Sun, 30 Jan 2022 13:02:50 +0800 Subject: [PATCH] =?UTF-8?q?[web-app]=20=E6=96=B0=E5=A2=9E=E7=9B=91?= =?UTF-8?q?=E6=8E=A7=E6=98=AF=E5=90=A6=E6=8E=A2=E6=B5=8B=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E9=BB=98=E8=AE=A4false-=E9=81=BF=E5=85=8D=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=AE=B9=E6=98=93=E8=B6=85=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/routes/monitor/monitor-new/monitor-new.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web-app/src/app/routes/monitor/monitor-new/monitor-new.component.ts b/web-app/src/app/routes/monitor/monitor-new/monitor-new.component.ts index 31bba12..77f9a65 100644 --- a/web-app/src/app/routes/monitor/monitor-new/monitor-new.component.ts +++ b/web-app/src/app/routes/monitor/monitor-new/monitor-new.component.ts @@ -22,7 +22,7 @@ export class MonitorNewComponent implements OnInit { params!: Param[]; monitor!: Monitor; profileForm: FormGroup = new FormGroup({}); - detected: boolean = true; + detected: boolean = false; passwordVisible: boolean = false; // 是否显示加载中 isSpinning: boolean = false; @@ -46,7 +46,7 @@ export class MonitorNewComponent implements OnInit { switchMap((paramMap: ParamMap) => { this.monitor.app = paramMap.get('app') || ''; this.titleSvc.setTitleByI18n(`monitor.app.${this.monitor.app}`); - this.detected = true; + this.detected = false; this.passwordVisible = false; this.isSpinning = false; return this.appDefineSvc.getAppParamsDefine(this.monitor.app); @@ -122,7 +122,7 @@ export class MonitorNewComponent implements OnInit { } }); let detectMonitor = { - detected: this.detected, + detected: true, monitor: this.monitor, params: this.params };