如何修复metisMenu

时间:2018-10-12 09:15:48

标签: html submenu metismenu

我为仪表板开发了菜单,在其中我将metisMenu用于元素。菜单正在显示,但是当我单击diplay子菜单的菜单按钮时,不会显示SubMenu!

如何解决此问题,谢谢。   文件.html:

 <ul class="side-menu metismenu" *ngFor="let application of applications">
    <li routerlinkactive="active">
      <a href="javascript:;">
        <i class="sidebar-item-icon fa fa-bookmark"></i>
        <span class="nav-label">{{application.Menu}}</span><i class="fa fa-angle-left arrow"></i>
      </a>
      <ul class="nav-2-level collapse" routerlinkactive="in" *ngFor="let accessrole of accessroles">
        <li *ngIf="accessrole.ApplicationId == application.ApplicationId">
          <a routerlink="/ui/icons" routerlinkactive="active">
            <span class="nav-label" style="padding-left: 23px; margin-top: -19px;">{{accessrole.SubMenu}}</span>
          </a>
        </li>
      </ul>
    </li>
  </ul>

0 个答案:

没有答案