How can I apply style to a div based on condition in thymeleaf?

前端 未结 2 1645
灰色年华
灰色年华 2021-01-11 23:26

I have a

block which I need to set to display:none or display:block based on the condition. The html looks like this,

2条回答
提交回复
热议问题