Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
onClick 函数名称希望它从后端传递
如果控制器上有一个名为 的公共函数myFunction(),这应该可以工作:
myFunction()
<button type="submit" (click)="myFunction()"> </button>