<li nz-submenu [(nzOpen)]="item.open" *ngFor="let item of menuList"> <span title>{{item.parent}}</span> <ul> <li nz-menu-item [routerLink]="['/{item.path}']" routerLinkActive="active" *ngFor="let item of item.children">{{item.child}}</li> </ul> </li>
[routerLink]="['/{item.path}']" 这里应该怎么写才对呢
米脂
汪汪一只猫
相关分类