1.jq获取后台Model的值

参考链接: https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#inlining

<script th:inline="javascript">
    $(function () {
        let topics = [[${topics}]]
        console.log(topics)
    })
</script>