supplied parameters do not match any signature of call target html

supplied parameters do not match any signature of call target html

编译angularJs前端时报错“supplied parameters do not match any signature of call target ”,是因为手贱在form的save函数中,将参数null去除了。

正确代码如下:

<form #frm="ngForm"name="Form" (ngSubmit)="frm.valid&& save(null)"novalidate>
<div class="row">
<div class="col-sm-12">


记录该错误让自己谨记少手贱。