mirror of https://gitee.com/y_project/RuoYi.git
条件限制一级菜单href跳转
parent
72a1585e26
commit
abb951a889
|
@ -52,7 +52,7 @@
|
|||
</ul>
|
||||
</li>
|
||||
<li th:each="menu : ${menus}">
|
||||
<a th:class="${menu.target}" th:href="@{${menu.url == ''} ? |#| : ${menu.url}}">
|
||||
<a th:class="@{${menu.url != '' && menu.url != '#'} ? ${menu.target}}" th:href="@{${menu.url == ''} ? |#| : ${menu.url}}">
|
||||
<i class="fa fa-bar-chart-o" th:class="${menu.icon}"></i>
|
||||
<span class="nav-label" th:text="${menu.menuName}">一级菜单</span>
|
||||
<span th:class="${menu.url == '' || menu.url == '#'} ? |fa arrow|"></span>
|
||||
|
|
Loading…
Reference in New Issue