JS referenced in the code thymeleaf expression gets value

JS referenced in the code thymeleaf expression to get the value, need to add so many words in the script tag

<script th:inline="javascript">

Specific reference method [[$ {variable name}]]

Published 17 original articles · won praise 1 · views 3157

Guess you like

Origin blog.csdn.net/chouyiqiong5655/article/details/89352136