Przeglądaj źródła

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

Antiloveg 8 lat temu
rodzic
commit
4b717d850e
1 zmienionych plików z 1 dodań i 1 usunięć
  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>