Thymeleaf 总结

在javaScript中使用表达式

var list = /*[[${list}]]*/ null;
 
<script th:inline="javascript">
var graphList = [[${ list }]];
</script>

有追求,才有动力!

向每一个软件工程师致敬!

by wujf

mail:921252375@qq.com

原文地址:https://www.cnblogs.com/wujf/p/10681642.html