fix bug
This commit is contained in:
@ -111,7 +111,7 @@ export class NetworkFreightComponent implements OnInit {
|
||||
buttons: [
|
||||
{
|
||||
text: '基础设置',
|
||||
click: item => this.ticket(item)
|
||||
click: item => this.creat(item)
|
||||
},
|
||||
{
|
||||
text: '财务设置',
|
||||
@ -534,7 +534,8 @@ export class NetworkFreightComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
// 新增
|
||||
creat() {
|
||||
this.router.navigate(['./new'], { relativeTo: this.ar });
|
||||
creat(value?: any) {
|
||||
console.log(value)
|
||||
this.router.navigate(['./new/'+ value?.id], { relativeTo: this.ar });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user