How to use “routerLinkActive” with query params in Angular 6?
问题 I have a problem in Angular: I have three links, one of them has query params (due to using a resolver). If I click the first and the third link, the routerLinkActive is set. If I click the second link routerLinkActive is set too. But if I change the query parameter inside the component routerLinkActive gets unset. So, I need to ignore the query params. But how does it work? Can anyone help me? Here is my simple code: <div class="col-12"> <ul class="nav nav-pills nav-justified"> <li class=