Cannot get query Params on routerOnActivate
问题 Im having problems trying to get query params using the new Route library. VERSION 2.0.0-rc.1 Problem routerOnActivate(curr:RouteSegment, prev?:RouteSegment, currTree?:RouteTree, prevTree?:RouteTree):void { console.log(curr.getParam("test")); } Always prints undefined Another problem is that my url gets "reseted" everytime (Thats why i think curr.getParam("test") returns undefined) Here is my App Component and My Home Component : APP COMPONENT import {Component} from '@angular/core'; import {