📌  相关文章
📜  如何以角度重新加载组件 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:09.800000             🧑  作者: Mango

代码示例4
DeleteEmployee(id:number)
  {
    this.employeeService.deleteEmployee(id)
    .subscribe( 
      (data) =>{
        console.log(data);
        this.ngOnInit();
      }),
      err => {
        console.log("Error");
      }   
  }