Commit 03b2a2f8 authored by wangqinghua's avatar wangqinghua

update

parent 2b636f40
...@@ -257,7 +257,7 @@ export class BasicEditComponent implements OnInit { ...@@ -257,7 +257,7 @@ export class BasicEditComponent implements OnInit {
} }
interfaceArr.push(a); interfaceArr.push(a);
}); });
this.validateForm.interfaceList = interfaceArr; this.validateForm.interfaces = interfaceArr;
this.validateForm.groups = groupArr; this.validateForm.groups = groupArr;
this.isOkLoading = true; this.isOkLoading = true;
if (this.modalTitle == '编辑资源') { if (this.modalTitle == '编辑资源') {
...@@ -312,7 +312,6 @@ export class BasicEditComponent implements OnInit { ...@@ -312,7 +312,6 @@ export class BasicEditComponent implements OnInit {
this.validateForm.macros = this.macroList2; this.validateForm.macros = this.macroList2;
} }
this.validateForm.hostid = this.hostId; this.validateForm.hostid = this.hostId;
this.validateForm.interfaces = this.interfaceslist;
this.validateForm.macros = this.macroList1; this.validateForm.macros = this.macroList1;
this.overAllSer.updateHost(this.validateForm).subscribe( this.overAllSer.updateHost(this.validateForm).subscribe(
(res) => { (res) => {
......
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