Commit 5b339e98 authored by wangqinghua's avatar wangqinghua

告警闪烁

parent 5358d690
...@@ -55,6 +55,7 @@ export class NavbarComponent implements OnInit ,AfterViewChecked{ ...@@ -55,6 +55,7 @@ export class NavbarComponent implements OnInit ,AfterViewChecked{
ngOnInit() { ngOnInit() {
this.user = this.$localStorage.retrieve("userInfo"); this.user = this.$localStorage.retrieve("userInfo");
this.getCurrentRole();
// this.profileService.getProfileInfo().then((profileInfo) => { // this.profileService.getProfileInfo().then((profileInfo) => {
// this.inProduction = profileInfo.inProduction; // this.inProduction = profileInfo.inProduction;
// this.swaggerEnabled = profileInfo.swaggerEnabled; // this.swaggerEnabled = profileInfo.swaggerEnabled;
......
...@@ -186,7 +186,7 @@ export class BasiCheckComponent implements OnInit { ...@@ -186,7 +186,7 @@ export class BasiCheckComponent implements OnInit {
this.message.error('请输入必填信息'); this.message.error('请输入必填信息');
return false; return false;
} }
this.validateForm.value.applications = [this.validateForm.value.applications]; this.validateForm.value.applications = this.validateForm.value.applications;
this.validateForm.value.hostid = this.hostId; this.validateForm.value.hostid = this.hostId;
if (this.title == '添加监测点' || this.title == "添加模版监测点") { if (this.title == '添加监测点' || this.title == "添加模版监测点") {
this.create(); this.create();
......
...@@ -96,7 +96,6 @@ TopologyPanel.prototype.loadTopologyByJson = function (topologyJson, backImg) { ...@@ -96,7 +96,6 @@ TopologyPanel.prototype.loadTopologyByJson = function (topologyJson, backImg) {
} }
}, 600); }, 600);
})(i); })(i);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment