springBoot遍历员工列表

新建一个xml文件把页面的公共部分抽取出来如图: th:fragment="topbar"(thyemeleaf的语法fragment后边定义的是别名用于th:replace="路径名/文件名::别名(topbar)"语法的) th:class="${activeUri=='main.html'?'nav-link active':'nav-link'}"th:href="@{main.html}
相关文章
相关标签/搜索