摘要: 最主要就是加上thymeleaf与js结合的语句,常见的thymeleaf内联语句有三种 <script th:inline="javascript"></script> 用于js的 <span th:text="${session.user.name}">Sebastian</span> 用于普通 阅读全文
posted @ 2021-11-02 16:10 浅笑19 阅读(67) 评论(0) 推荐(0)
摘要: 对于不需要解析 thymeleaf 标签变量的script标签添加上 th:inline=“none” 就可以了 阅读全文
posted @ 2021-11-02 16:08 浅笑19 阅读(206) 评论(0) 推荐(0)