代码一看就懂: HTML: <!--一个参数--> <button th:onclick="getNick([[${user.nick}]])">按钮1</button> <!--多参--> <button th:onclick