<script type="text/javascript" th:inline="javascript">
var 赋值对象 = [[${后端变量}]];
${#dates.format(时间,'yyyy-MM-dd HH:mm:ss')}