📜  ngsubmit 不起作用 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:31.733000             🧑  作者: Mango

代码示例1
1. submit button must be in the form tag
2. the method must be call with () -> (ngSubmit)="method()"