This commit is contained in:
dong_bo0602 2021-06-15 11:01:10 +08:00
parent 96c57a43ed
commit c8babcd9ec

View File

@ -76,7 +76,7 @@
<span th:text="${userName}"></span> <span th:text="${userName}"></span>
<!-- <span th:text="${userName}" th:if="${userUserName ne 'admin'}" class="not-admin"></span>--> <!-- <span th:text="${userName}" th:if="${userUserName ne 'admin'}" class="not-admin"></span>-->
<!-- <a href="default-main" th:if="${userUserName eq 'admin'}">后台</a>--> <!-- <a href="default-main" th:if="${userUserName eq 'admin'}">后台</a>-->
<a href="default-main" th:if="${userUserName eq 'admin'}">后台</a> <a href="default-main" th:if="${userUserName}">后台</a>
</div> </div>
<div class="right fr"> <div class="right fr">
<a href="oauth/logout">退出</a> <a href="oauth/logout">退出</a>