thymeleaf根据传入的数据判断页面元素是否显示

th:style="'display:' + @{(*{monitorType=='1'} ? 'block' : 'none')} + ''"
thymeleaf根据传入的数据判断页面元素是否显示

posted on 2020-11-04 14:47  七七2020  阅读(3096)  评论(0编辑  收藏  举报

导航