@@ -29,7 +29,7 @@
</div>
<div class="rt" th:if="${isLogin}">
<span>欢迎光临,</span>
- <a class="login" th:href="${basePath + '/user/account/index.html'}" th:text="${userName}">个人中心</a>
+ <a class="login" th:href="${basePath + isAdmin? '/admin/index.html':'/user/account/index.html'}" th:text="${userName}">个人中心</a>
<a th:href="${basePath + '/user/logout'}">退出</a>
<a href="#">导航</a>
<a href="#">关于我们</a>