<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}']" 這里應(yīng)該怎么寫才對呢
angular [routerLink]數(shù)據(jù)綁定怎么寫
繁星淼淼
2018-08-03 20:33:45