天天看点

angularjs build时报错 Supplied parameters do not match any signature of call target

angularjs build时报错 Supplied parameters do not match any signature of call target

出现这种原因主要是由于编码不规范造成的

如图

angularjs build时报错 Supplied parameters do not match any signature of call target

图中的handleCancel($event)方法;

在ts文件中写成handleCancel()未写入$event则会报错

angularjs build时报错 Supplied parameters do not match any signature of call target
angularjs build时报错 Supplied parameters do not match any signature of call target