th :class表达式选择class. 通过表达式判断选择应用对应的class <a href="#" th:class="${user.type==1}? 'user' : 'admin'" ...
確定! 回上一頁