解决办法:将逻辑关系全部写到大括号里面

<div th:if="${task.getStatusStr() !='已延期' ||task.getStatusStr()!='已完成'}"
                 th:text="${task.getStatusStr()}">
            </div>

相关文章:

  • 2021-12-21
  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
  • 2022-02-08
猜你喜欢
  • 2022-12-23
  • 2022-01-25
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案