<script th:inline="javascript"> var message = [[${message}]]; console.log(message);</script>
来源: http://www.bubuko.com/infodetail-2654286.html