i使用Angular7.x和ngx-bootstrap折叠和下拉列表
<li>
<a data-class="prefix prefix-circle" (click)="isCollapsed = !isCollapsed" [attr.aria-expanded]="!isCollapsed"
aria-controls="collapseBasic">title <span class="icon"></span>
</a>
<div id="collapseBasic" class="collapse-basic" [collapse]="isCollapsed" [isAnimated]="true">
<div class="collapse-basic-show">
<ul>
<li>
<a routerLink="/"</a>
</li>
<li role="menuitem" dropdown triggers="" placement="right" container="body">
<a dropdownToggle class="dropdown-item dropdown-toggle" (click)="(true)">other title <span
class=" icon"></span></a>
<ul *dropdownMenu class="dropdown-menu" role="menu">
<li *ngFor="let item of Data" role="menuitem">
<a routerLink="/account"></a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</li>
当我单击页边距时,控制台将不断报告错误。 谁能告诉我发生了什么事