Thymeleaf Javascript 取值

<script th:inline="javascript">
var openid = /*[[${session.wxuser.openId}]]*/
</script>


thymeleat html javascript中获取变量值
原文地址:https://www.cnblogs.com/duyinqiang/p/5696499.html