>Generally speaking, we use it to jump code in the page >first of all,you need import the module in component.ts ~~~ import {ActivatedRoute, NavigationExtras, Router} from "@angular/router"; ~~~ >edit the detail.component.ts logic function ~~~ public jump(){ let navigateExtras:NavigationExtras={ queryParams:{"session":'123'}, fragment:"test" } this.navigate.navigate(["/news"],navigateExtras) } ~~~ >The end result is ``` news?session=123#test ```