[web-app] 新增监控是否探测按钮默认false-避免新增容易超时
This commit is contained in:
@@ -22,7 +22,7 @@ export class MonitorNewComponent implements OnInit {
|
|||||||
params!: Param[];
|
params!: Param[];
|
||||||
monitor!: Monitor;
|
monitor!: Monitor;
|
||||||
profileForm: FormGroup = new FormGroup({});
|
profileForm: FormGroup = new FormGroup({});
|
||||||
detected: boolean = true;
|
detected: boolean = false;
|
||||||
passwordVisible: boolean = false;
|
passwordVisible: boolean = false;
|
||||||
// 是否显示加载中
|
// 是否显示加载中
|
||||||
isSpinning: boolean = false;
|
isSpinning: boolean = false;
|
||||||
@@ -46,7 +46,7 @@ export class MonitorNewComponent implements OnInit {
|
|||||||
switchMap((paramMap: ParamMap) => {
|
switchMap((paramMap: ParamMap) => {
|
||||||
this.monitor.app = paramMap.get('app') || '';
|
this.monitor.app = paramMap.get('app') || '';
|
||||||
this.titleSvc.setTitleByI18n(`monitor.app.${this.monitor.app}`);
|
this.titleSvc.setTitleByI18n(`monitor.app.${this.monitor.app}`);
|
||||||
this.detected = true;
|
this.detected = false;
|
||||||
this.passwordVisible = false;
|
this.passwordVisible = false;
|
||||||
this.isSpinning = false;
|
this.isSpinning = false;
|
||||||
return this.appDefineSvc.getAppParamsDefine(this.monitor.app);
|
return this.appDefineSvc.getAppParamsDefine(this.monitor.app);
|
||||||
@@ -122,7 +122,7 @@ export class MonitorNewComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
let detectMonitor = {
|
let detectMonitor = {
|
||||||
detected: this.detected,
|
detected: true,
|
||||||
monitor: this.monitor,
|
monitor: this.monitor,
|
||||||
params: this.params
|
params: this.params
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user