为了不经常鬼畜, 避免来回纠结SpringBoot Thymeleaf语法,总结一下常用语法方便之后自己查询使用。
模板标志: th:
js如果有Thymeleaf模板语法,一定在“script”标签中加入识别 th:inline=“javascript”,即:
<script th:inline="javascript">
let aRoomTypeList = [[${
paveDesignDTO.roomType}]];
let aStyleList=[[${
paveDesignDTO.style}]];
let aInterestList=[[${
paveDesignDTO.interes