This commit is contained in:
dong_bo0602 2021-06-15 10:45:06 +08:00
parent 96546e80d7
commit 96c57a43ed

View File

@ -72,8 +72,10 @@
</li> </li>
<li class="log-out"> <li class="log-out">
<div class="left fl"> <div class="left fl">
<span th:text="${userName}" th:if="${userUserName eq 'admin'}"></span> <!-- <span th:text="${userName}" th:if="${userUserName eq 'admin'}"></span>-->
<span th:text="${userName}" th:if="${userUserName ne 'admin'}" class="not-admin"></span> <span th:text="${userName}"></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>
</div> </div>
<div class="right fr"> <div class="right fr">