简单描述:判断后台传递过来的值,是否为空,来做一些业务上的处理。

代码:

<div class="col-md-6" th:if="${not #strings.isEmpty(user.userName)}"> 

 thymleaf模板还有很多好用的,点滴积累!ヾ(◍°∇°◍)ノ゙

相关文章:

  • 2022-12-23
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-11
  • 2021-08-30
  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
  • 2021-09-11
相关资源
相似解决方案