📅  最后修改于: 2022-03-11 15:04:12.103000             🧑  作者: Mango
DeleteEmployee(id:number)
{
this.employeeService.deleteEmployee(id)
.subscribe(
(data) =>{
console.log(data);
this.ngOnInit();
}),
err => {
console.log("Error");
}
}