SpringBoot: Thymeleaf按钮点击事件传参的问题

转载请标明来源:https://blog.csdn.net/SingingFisher/article/details/86136250 1、问题来源  在学习SpringBoot配置Thymeleaf的过程当中,参照例子使用按钮点击事件传参,代码以下:html <button th:onclick="'getName(\''+${person.name}+'\');'">点击</button>
相关文章
相关标签/搜索