<script th:inline="javascript" type="text/javascript">
var ctxPath = [[@{/}]];
var ctxPath = /*[[@{/}]]*/'';
var ctxPath=[[${#httpServletRequest.getContextPath()}]];
</script>
Thymeleaf 获取项目根路径的三种方式
最新推荐文章于 2023-05-18 21:45:01 发布