fix bug
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { STComponent, STColumn, STChange } from '@delon/abc/st';
|
||||
import { SFCascaderWidgetSchema, SFComponent, SFRadioWidgetSchema, SFSchema, SFUISchema } from '@delon/form';
|
||||
import { DynamicSettingModalComponent, SinglepageSettingModalComponent } from '@shared';
|
||||
@ -145,7 +146,7 @@ export class NetworkFreightComponent implements OnInit {
|
||||
};
|
||||
}
|
||||
|
||||
constructor(public service: SystemService, private nzModalService: NzModalService) {}
|
||||
constructor(public service: SystemService, private nzModalService: NzModalService,private router: Router,private ar: ActivatedRoute,) {}
|
||||
|
||||
ngOnInit(): void {
|
||||
this.initSF();
|
||||
@ -532,4 +533,8 @@ export class NetworkFreightComponent implements OnInit {
|
||||
this.taxStatus = false
|
||||
}
|
||||
}
|
||||
// 新增
|
||||
creat() {
|
||||
this.router.navigate(['./new'], { relativeTo: this.ar });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user