Commit d9eadc90 authored by wangqinghua's avatar wangqinghua

兼容性测试

parent bd08a093
...@@ -4,7 +4,7 @@ import {BehaviorSubject, Subscription} from 'rxjs'; ...@@ -4,7 +4,7 @@ import {BehaviorSubject, Subscription} from 'rxjs';
@Injectable() @Injectable()
export class AppService { export class AppService {
private themeSource:BehaviorSubject<string> = new BehaviorSubject('dark'); private themeSource:BehaviorSubject<string> = new BehaviorSubject('white');
public theme = this.themeSource.asObservable(); public theme = this.themeSource.asObservable();
public setTheme(value: string){ public setTheme(value: string){
......
This diff is collapsed.
...@@ -311,6 +311,9 @@ export class BasicEditComponent implements OnInit { ...@@ -311,6 +311,9 @@ export class BasicEditComponent implements OnInit {
if (this.macroTYpe == 'macroExpand') { if (this.macroTYpe == 'macroExpand') {
this.validateForm.macros = this.macroList2; this.validateForm.macros = this.macroList2;
} }
this.validateForm.interfaces.forEach(e=>{
e.hostid = this.hostId
});
this.validateForm.hostid = this.hostId; this.validateForm.hostid = this.hostId;
this.validateForm.macros = this.macroList1; this.validateForm.macros = this.macroList1;
this.overAllSer.updateHost(this.validateForm).subscribe( this.overAllSer.updateHost(this.validateForm).subscribe(
......
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