Browse Source

Merge branch 'master' of https://git.coding.net/aft/AFT.git

Antiloveg 8 years ago
parent
commit
4b717d850e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/webapp/WEB-INF/views/common.html

+ 1 - 1
src/main/webapp/WEB-INF/views/common.html

@@ -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>