一、数据拼接显示:文本链接:用“+”符号,也可以用“|”符号。
eg:
th:utext="|${cmenu.menuName}(${count})|"
th:utext="${cmenu.menuName}+'('+${count}+')'"
二、th:action字符串拼接
若user.userId=1,解析结果为:<form action="/user/1"></form>
<form th:action="@{'/user/'+${user.userId}}"></form>
<form th:action="@{/user/{userId}(userId=${user.userId})}"></form>