使用的thymeleaf th:fragent
菜单栏中有引入 th:fragent="navigation"
<script th:src="@{/js/jquery-2.1.1.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>
需要富文本的界面 th:include="nav :: navigation" 重新引入了一遍
<script th:src="@{/js/jquery-2.1.1.js}
<script th:src="@{/js/bootstrap.min.js}
去掉即可