Error: Template parse errors:
Can't bind to 'menuid' since it isn't a known property of 'a'. ("e === menu.name">
<a href="javascript:void(0);" (click)="navObj(menu)" rel="{{menu.rel}}" [ERROR ->]menuid="{{menu.menuid}}" isleaf="{{menu.isleaf}}" title="{{menu.title}}" name="{{menu.name}}">
"): ng:///AppModule/SidebarComponent.html@53:82
Can't bind to 'isleaf' since it isn't a known property of 'a'. (" <a href="javascript:void(0);" (click)="navObj(menu)" rel="{{menu.rel}}" menuid="{{menu.menuid}}" [ERROR ->]isleaf="{{menu.isleaf}}" title="{{menu.title}}" name="{{menu.name}}">
<i class="fa fa-car"): ng:///AppModule/SidebarComponent.html@53:107
Angular新特性,教你熟练使用 Angular 和 Typescript 开发组件式单页应用
了解课程