使用表单上的submit处理函数在这种场景中不能运行,因为它不能确定哪个按钮触发表单提交。
Using a submit handler on the form wouldn't work in this scenario because it would not be possible to determine which button triggered the form submission.
如何运行表单应用程序并保持控制台关闭,直到我单击表单上的按钮?
How can I run the forms application and keep the console closed until I click a button on the form?
应用推荐