4.7 文本拼接
文本,不管是字面量还是变量或者信息表达式求值的结果,都可以简单地使用+
运算符拼接:
<span th:text="'The name of the user is ' + ${user.name}">
Last updated
Was this helpful?
文本,不管是字面量还是变量或者信息表达式求值的结果,都可以简单地使用+
运算符拼接:
<span th:text="'The name of the user is ' + ${user.name}">
Last updated
Was this helpful?