链接到angular2中其他模块的嵌套路由

时间:2016-03-02 13:08:13

标签: javascript angularjs angular

当我想链接到其他组件时。

<a [routerLink]="['/Benchmarking', ['Overview', {'groupId': group.id}]]>Link to other component with nested route</a>

我收到了错误。

Uncaught EXCEPTION: Component "PanelApp" has no route named "Overview". in [['/Benchmarking', ['Overview', {'groupId': group.id}]]

0 个答案:

没有答案