<td>
<a href="#" th:onclick="'javascript:layer_show(\''+${item.id}+'\')'" th:text="${item.title}"></a></td>
thymleaf元素中调用js函数传动态参数
最新推荐文章于 2024-06-20 20:20:21 发布
<td>
<a href="#" th:onclick="'javascript:layer_show(\''+${item.id}+'\')'" th:text="${item.title}"></a></td>