小编ryo*_*ato的帖子

如何在Thymeleaf上设置多个条件

我想在这样的Thymeleaf模板上设置一些条件,但它不起作用.

<li th:if="${entry.description != null && entry.owner == true}" th:each="entry : ${entryList}" class="group">
Run Code Online (Sandbox Code Playgroud)

如何正确使用此代码?

spring thymeleaf

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

spring ×1

thymeleaf ×1